username@email.com
2024-12-26 90858c80d9921b555119f41060c1f883f6e6ffc5
DocumentServiceAPI.Application/UserAndLogin/ViewMode/UserInfo.cs
@@ -81,6 +81,11 @@
        ///// </summary>
        //[SugarColumn(Length = 30)]
        //public string? PsW { get; set; }
        public int UnitMaxCount { get; set; }
        public int EmployeeMaxCount { get; set; }
        public int BiaoshuOverTimeCount { get; set; }
        public int WendangOverTimeCount { get; set; }
    }
    
    public class EmployeeInfoVM /*:Document_EmployeeInfo*/
@@ -133,7 +138,7 @@
        /// 用户名 手机号验证 必填
        /// </summary>  
        [Required]
        [RegularExpression("/^(?:(?:\\+|00)86)?1\\d{10}$/")]
        [DataValidation(ValidationTypes.PhoneNumber, ErrorMessage = "员工账户请输入有效的电话号码")]
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码