using System.ComponentModel.DataAnnotations; namespace DOAN.Model.MES.group.Dto { /// /// 人员查询对象 /// public class GroupPersonQueryDto : PagerInfo { public string WorkNum { get; set; } public string Name { get; set; } public string FkPost { get; set; } public int? Status { get; set; } } /// /// 人员输入输出对象 /// public class GroupPersonDto { public string Id { get; set; } [Required(ErrorMessage = "岗位不能为空")] public string FkPost { get; set; } public string PostName { get; set; } public string WorkNum { get; set; } public string Name { get; set; } public DateTime? EmploymentTime { get; set; } public DateTime? DepartureTime { get; set; } public string Phone { get; set; } public int? Status { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public string UpdatedTime { get; set; } } }