67 lines
1.6 KiB
C#
67 lines
1.6 KiB
C#
namespace Dlhis.ScheduledTask.Common.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; }
|
|
}
|
|
|
|
|
|
//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();
|
|
//}
|