using System.ComponentModel.DataAnnotations; namespace MDM.Model.Plant.Dto { /// /// 产线/线体/工作中心查询对象 /// public class PlantProductlinebodyQueryDto : PagerInfo { public string FkFactorySiteCode { get; set; } public string FkWorkshopCode { get; set; } public string LineCode { get; set; } public string LineName { get; set; } } /// /// 产线/线体/工作中心输入输出对象 /// public class PlantProductlinebodyDto { [Required(ErrorMessage = "产线id不能为空")] public int LineId { get; set; } public string FkFactorySiteCode { get; set; } public string FkWorkshopCode { get; set; } [Required(ErrorMessage = "产线code不能为空")] public string LineCode { get; set; } public string LineName { get; set; } public string LineType { get; set; } public string Description { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } } }