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,95 @@
using E_ZKEccTopSdk.Response;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace E_ZKEccTopSdk.Request
{
public class EmployeeUpdateRequest : BaseTopRequest<EmployeeUpdateResponse>
{
/// <summary>
/// 查询参数
/// </summary>
public string MarketingPromotionQuery { get; set; }
public EmployeeUpdateDomain[] MarketingPromotionQuery_ { set { this.MarketingPromotionQuery = JsonConvert.SerializeObject(value); } }
#region ITopRequest Members
public override string GetApiName()
{
return "update";
}
public override IDictionary<string, string> GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("MarketingPromotionQuery", this.MarketingPromotionQuery);
//parameters.Add("issue_id", this.IssueId);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
//RequestValidator.ValidateRequired("pin", this.pin);
//RequestValidator.ValidateRequired("deptnumber", this.deptnumber);
}
#endregion
[Serializable]
public class EmployeeUpdateDomain : TopObject
{
/// <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; }
}
}
}