namespace Dlhis.Jip.Api.Dto; public class SapOrganizationItem { /// /// 开始日期 /// public string BEGDA { get; set; } /// /// 结束日期 /// public string ENDDA { get; set; } /// /// 语言 /// public string LANGU { get; set; } /// /// 部门id /// public string OBJID { get; set; } /// /// 部门名称 /// public string STEXT { get; set; } /// /// 上级部门 /// public string SOBID { get; set; } /// /// 公司 /// public string ORGID01 { get; set; } /// /// 事业部 /// public string ORGID02 { get; set; } /// /// 一级部分 /// public string ORGID03 { get; set; } /// /// 二级部门 /// public string ORGID04 { get; set; } /// /// 三级部门 /// public string ORGID05 { get; set; } /// /// 四级部门 /// public string ORGID06 { get; set; } /// /// 五级部门 /// public string ORGID07 { get; set; } /// /// 六级部门 /// public string ORGID08 { get; set; } } //public partial class SapOrganizationItem : IEquatable //{ // 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(); //}