using System.ComponentModel.DataAnnotations; namespace DOAN.Model.MES.base_.Dto { /// /// 工位查询对象 /// public class BaseWorkStationQueryDto : PagerInfo { public string WorkStationDescription { get; set; } public int? Status { get; set; } } public class BaseWorkStationQueryDto2 : PagerInfo { public int route_id { get; set; } } /// /// 工位输入输出对象 /// public class BaseWorkStationDto { [Required(ErrorMessage = "主键不能为空")] public int Id { get; set; } public int? FkWorkProcesses { get; set; } public string DictWorkType { get; set; } public string WorkStationDescription { get; set; } public List BindedDeviceArray { get; set; } public int? Status { get; set; } public string Remark { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } } public class BaseWorkStationDto3 { /// /// 1 被选中 0 未选中 /// public int flag { get; set; } public int Id { get; set; } public int? FkWorkProcesses { get; set; } public string DictWorkType { get; set; } public string WorkStationDescription { get; set; } public int? Status { get; set; } public string Remark { get; set; } } /// /// 添加工位和修改工位使用 /// public class BaseWorkStationDto2 { [Required(ErrorMessage = "主键不能为空")] public int Id { get; set; } public int? FkWorkProcesses { get; set; } public string DictWorkType { get; set; } public string WorkStationDescription { get; set; } public int[] BindedDeviceArray { get; set; } public int? Status { get; set; } public string Remark { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } } }