using System.ComponentModel.DataAnnotations; namespace DOAN.Model.Dto { /// /// 追溯零件清单查询对象 /// public class TraceProjectPartQueryDto : PagerInfo { } /// /// 追溯零件清单输入输出对象 /// public class TraceProjectPartDto { [Required(ErrorMessage = "零件id不能为空")] public int Id { get; set; } [Required(ErrorMessage = "项目号不能为空")] public string ProjectCode { get; set; } [Required(ErrorMessage = "总成号不能为空")] public string ProductionCode { get; set; } public string ProductionName { get; set; } public string Specification { get; set; } public string Colour { get; set; } public string HandleType { get; set; } public string CustomCode { get; set; } public string Unit { get; set; } public string CreateBy { get; set; } public DateTime? CreateTime { get; set; } } }