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