98 lines
2.1 KiB
C#
98 lines
2.1 KiB
C#
namespace Dlhis.Jip.Api.Dto;
|
|
|
|
public class SapOrganizationItem
|
|
{
|
|
/// <summary>
|
|
/// 开始日期
|
|
/// </summary>
|
|
public string BEGDA { get; set; }
|
|
|
|
/// <summary>
|
|
/// 结束日期
|
|
/// </summary>
|
|
public string ENDDA { get; set; }
|
|
|
|
/// <summary>
|
|
/// 语言
|
|
/// </summary>
|
|
public string LANGU { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门id
|
|
/// </summary>
|
|
public string OBJID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门名称
|
|
/// </summary>
|
|
public string STEXT { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上级部门
|
|
/// </summary>
|
|
public string SOBID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司
|
|
/// </summary>
|
|
public string ORGID01 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 事业部
|
|
/// </summary>
|
|
public string ORGID02 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 一级部分
|
|
/// </summary>
|
|
public string ORGID03 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 二级部门
|
|
/// </summary>
|
|
public string ORGID04 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 三级部门
|
|
/// </summary>
|
|
public string ORGID05 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 四级部门
|
|
/// </summary>
|
|
public string ORGID06 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 五级部门
|
|
/// </summary>
|
|
public string ORGID07 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 六级部门
|
|
/// </summary>
|
|
public string ORGID08 { get; set; }
|
|
}
|
|
|
|
|
|
//public partial class SapOrganizationItem : IEquatable<SapOrganizationItem>
|
|
//{
|
|
// public bool Equals(SapOrganizationItem other)
|
|
// {
|
|
// if (other is null)
|
|
// return false;
|
|
|
|
// return this.BEGDA == other.BEGDA
|
|
// && this.ENDDA == other.ENDDA
|
|
// && this.LANGU == other.LANGU
|
|
// && this.OBJID == other.OBJID
|
|
// && this.STEXT == other.STEXT
|
|
// && this.SOBID == other.SOBID
|
|
// && this.ORGID01 == other.ORGID01
|
|
// && this.ORGID02 == other.ORGID02;
|
|
// }
|
|
|
|
// public override bool Equals(object obj) => Equals(obj as SapOrganizationItem);
|
|
// public override int GetHashCode() => (BEGDA, ENDDA, LANGU, OBJID, STEXT, SOBID, ORGID01, ORGID02).GetHashCode();
|
|
//}
|