fix 同步接口
This commit is contained in:
76
Src/Dlhis.ScheduledTask/Entities/ZHRS_ORG.cs
Normal file
76
Src/Dlhis.ScheduledTask/Entities/ZHRS_ORG.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Dlhis.ScheduledTask.Entities
|
||||
{
|
||||
public partial class ZHRS_ORG
|
||||
{
|
||||
/// <summary>
|
||||
/// 开始日期
|
||||
/// </summary>
|
||||
public string BEGDA { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束日期
|
||||
/// </summary>
|
||||
public string ENDDA { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语言
|
||||
/// </summary>
|
||||
public int LANGU { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门id
|
||||
/// </summary>
|
||||
public int 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 ZHRS_ORG : IEquatable<ZHRS_ORG>
|
||||
{
|
||||
public bool Equals(ZHRS_ORG 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 ZHRS_ORG);
|
||||
public override int GetHashCode() => (BEGDA, ENDDA, LANGU, OBJID, STEXT, SOBID, ORGID01, ORGID02).GetHashCode();
|
||||
}
|
||||
public class T_ORG
|
||||
{
|
||||
public List<ZHRS_ORG> item { get; set; }
|
||||
}
|
||||
|
||||
public class ZHRS_ORGResult
|
||||
{
|
||||
public T_ORG T_ORG { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user