using System.ComponentModel.DataAnnotations; using Abp.AutoMapper; using IwbZero.AppServiceBase; namespace ShwasherSys.CompanyInfo.EmployeeInfo.Dto { /// /// 人员信息维护 /// [AutoMapTo(typeof(Employee))] public class EmployeeCreateDto:IwbEntityDto { /// /// 人员编号 /// [Required] [StringLength(Employee.NoMaxLength)] public string No { get; set; } /// /// 人员姓名 /// [Required] [StringLength(Employee.NameMaxLength)] public string Name { get; set; } /// /// 身份证号 /// [StringLength(Employee.CardIdMaxLength)] public string CardId { get; set; } /// /// 性别 /// public int Gender { get; set; } /// /// 手机号 /// [StringLength(Employee.PhoneMaxLength)] public string PhoneNumber { get; set; } /// /// 部门 /// [StringLength(20)] public string DepartmentNo { get; set; } /// /// 职务 /// [StringLength(20)] public string DutyNo { get; set; } /// /// 详情 /// [StringLength(Employee.DescMaxLength)] public string Description { get; set; } } }