using System.ComponentModel.DataAnnotations; namespace DOAN.Model.Dto { /// /// 工艺建模工序表查询对象 /// public class ProModelProcessQueryDto : PagerInfo { public string ProcessCode { get; set; } public string ProcessName { get; set; } public long? RoutingId { get; set; } } /// /// 工艺建模工序表输入输出对象 /// public class ProModelProcessDto { [Required(ErrorMessage = "id不能为空")] [JsonConverter(typeof(ValueToStringConverter))] public long Id { get; set; } public string ProcessCode { get; set; } public string ProcessName { get; set; } public int? ProcessSeq { get; set; } public long? RoutingId { get; set; } public string WorkCenter { get; set; } public decimal StandardTime { get; set; } public string Description { get; set; } public string IsActive { get; set; } public DateTime? CreateTime { get; set; } public string CreateBy { get; set; } public DateTime? UpdateTime { get; set; } public string UpdateBy { get; set; } public string Remark { get; set; } } /// /// 获取总表 /// public class RoutingParentListDto { public long Id { get; set; } public List routingLists; } /// /// 获取工艺路线表 /// public class RoutingListDto { public long Id { get; set; } public string RoutingCode { get; set; } public string RoutingName { get; set; } } }