namespace Admin.NET.Plugin.AiDOP.Production; /// 产线休息时间列表 public class QualityLineRestListInput { public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; public string? ProdLine { get; set; } public string? OrderBy { get; set; } public string? Sort { get; set; } } /// 保存产线休息时间(页面 E:ProdLine + RestTimePoint + RestTime + 备注 Ufld1) public class QualityLineRestSaveInput { public long? Id { get; set; } /// 工厂域(选生产线时带出) [Required(ErrorMessage = "公司域名不能为空")] [MaxLength(8)] public string Domain { get; set; } = string.Empty; /// 地点,缺省与 Domain 相同 [MaxLength(8)] public string? Site { get; set; } [Required(ErrorMessage = "生产线不能为空")] [MaxLength(12)] public string ProdLine { get; set; } = string.Empty; /// 休息开始 HH:mm,写入 RestTimePoint [Required(ErrorMessage = "休息开始不能为空")] [MaxLength(30)] public string RestTimePoint { get; set; } = string.Empty; /// 休息时长(分钟) [Range(0, int.MaxValue)] public int RestTime { get; set; } /// 备注,写入 Ufld1 [MaxLength(8)] public string? Remark { get; set; } }