This commit is contained in:
PastSaid
2024-04-29 17:57:07 +08:00
parent e1e6cba475
commit 16fbd10312
123 changed files with 5923 additions and 18677 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace E_ZKEcc.Domian
{
[Serializable]
public class ApiInfoDomian
{
public string appKey { get; set; }
public string appSecret { get; set; }
public string apiVersion { get; set; }
public string serverUrl { get; set; }
}
}

View File

@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace E_ZKEcc.Domian
{
[Serializable]
public class EmployeeDomain
{
/// <summary>
/// 人员编号 长度为1~24个字符 必填
/// </summary>
public string pin { get; set; }
/// <summary>
/// 名称。长度为1~20个字符
/// </summary>
public string name { get; set; }
/// <summary>
/// 人员所属部门编号(更新可以不填,新增必填)
/// </summary>
public string deptnumber { get; set; }
/// <summary>
/// 性别 。'M'表示男,'F'表示女 允许值: 'M', 'F'
/// </summary>
public string gender { get; set; }
/// <summary>
/// 身份证号
/// </summary>
public string identitycard { get; set; }
/// <summary>
/// 人员自助密码
/// </summary>
public string selfpassword { get; set; }
/// <summary>
/// 人员是否考勤
/// </summary>
public int? att { get; set; }
/// <summary>
/// 验证方式
/// </summary>
public int? comverifys { get; set; }
/// <summary>
/// 比对照片信息BASE64格式
/// </summary>
public string enrollpic { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace E_ZKEcc.Domian
{
[Serializable]
public class ResultDomian<T>
{
public string msg { get; set; }
public int ret { get; set; }
public ResultData<T> data { get; set; }
}
[Serializable]
public class ResultDomian
{
public string msg { get; set; }
public int ret { get; set; }
public string[] error_list { get; set; }
}
[Serializable]
public class ResultData<T>
{
public int count { get; set; }
public List<T> items { get; set; }
}
}