using System.Collections.Generic; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace Opsoft.NetCore.O3App.Domain.Models { public class LoginRequest { public LoginRequest() { OperatorIdDic = new Dictionary(); } public string UserName { get; set; } [Required] [JsonProperty("userid")] public string UserID { get; set; } [JsonProperty("password")] public string Password { get; set; } [Required] [JsonProperty("dbaias")] public string DBAias { get; set; } public string PAType { get; set; } public string PAID { get; set; } public string errtype { get; set; } /// /// 是否为智能终端 /// public bool IsPDA { get; set; } /// /// 电子邮箱 /// public string EMAIL { get; set; } /// /// ERP中的用户帐号 /// public string ERPID { get; set; } /// /// 是否系统默认 /// public bool ISDEFAULT { get; set; } /// /// 用户ID卡 /// public string CARDID { get; set; } /// /// 域用户名 /// public string DOMAINUSER { get; set; } /// /// 最后一次登录时间 /// public string LASTLOGINTIME { get; set; } /// /// 最后修改密码的时间 /// public string LASTCPTIME { get; set; } /// /// 用户照片 /// public byte[] PHOTO { get; set; } /// /// 是否为人脸登录 /// public bool IsFaceLogin { get; set; } public Dictionary OperatorIdDic { get; set; } } }