using System.ComponentModel.DataAnnotations; namespace MDM.Model.Process.Dto { /// /// 工艺路线查询对象 /// public class ProcessRoutingQueryDto : PagerInfo { public string? FkProductMaterialCode { get; set; } public string? RoutingCode { get; set; } public string? RoutingName { get; set; } public int? Version { get; set; } public int? Status { get; set; } } /// /// 工艺路线输入输出对象 /// public class ProcessRoutingDto { [Required(ErrorMessage = "id不能为空")] public int RoutingId { get; set; } public string? FkProductMaterialCode { get; set; } public string? ProductMaterialName { get; set; } [Required(ErrorMessage = "工艺路线code不能为空")] public string? RoutingCode { get; set; } public string? RoutingName { get; set; } public int? Version { get; set; } public string? Description { get; set; } public int? Status { get; set; } public DateTime? EffectiveDate { get; set; } public string? CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string? UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } } }