using System; using Abp.AutoMapper; using System.ComponentModel.DataAnnotations; using ContractService.Configuration; using IwbZero.AppServiceBase; namespace ContractService.Client.Staff.Dto { /// /// 企业员工信息维护 /// [AutoMapTo(typeof(ClientStaffInfo))] public class ClientStaffCreateDto:IwbEntityDto { /// /// 员工编号 /// [StringLength(50)] public string Code { get; set; } /// /// 员工姓名 /// [StringLength(50)] public string Name { get; set; } /// /// 电子邮箱 /// [MaxLength(50)] public string Email { get; set; } /// /// 员工描述 /// [StringLength(500)] public string Profile { get; set; } /// /// 出生日期 /// public DateTime? Birthday { get; set; } /// /// 身份证号 /// [StringLength(20)] public string IdCard { get; set; } /// /// 联系号码 /// [StringLength(20)] public string PhoneNumber { get; set; } /// /// 备用号码 /// [StringLength(20)] public string PhoneNumber2 { get; set; } /// /// 公司信息 /// [StringLength(IwbConsts.PrimaryKey)] public string CompanyNo { get; set; } /// /// 组织信息 /// [StringLength(IwbConsts.PrimaryKey)] public string OrganizationNo { get; set; } } }