namespace Admin.NET.Plugin.AiDOP.Production; /// 产线加班(ResourceOccupancyTime)列表 public class ResourceOvertimeListInput { public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; /// 生产线,对应 Resource 字段 public string? Resource { get; set; } public string? StartTimeFrom { get; set; } public string? EndTimeFrom { get; set; } public string? ResourceType { get; set; } public string? OrderBy { get; set; } public string? Sort { get; set; } } /// 保存 ResourceOccupancyTime public class ResourceOvertimeSaveInput { public long? Id { get; set; } [Required(ErrorMessage = "工厂域不能为空")] [MaxLength(8)] public string Domain { get; set; } = string.Empty; [MaxLength(8)] public string? Site { get; set; } /// 产线编码,写入 Resource [Required(ErrorMessage = "生产线不能为空")] [MaxLength(20)] public string Resource { get; set; } = string.Empty; [MaxLength(20)] public string? ResourceType { get; set; } public DateTime? StartTime { get; set; } public DateTime? EndTime { get; set; } [MaxLength(60)] public string? Descr { get; set; } /// 有效工作时长(分钟),存 Ufld1 为「小时」小数 public decimal? WorkMinutes { get; set; } /// 休息时长(分钟),存 Ufld2 为「小时」小数 public decimal? RestMinutes { get; set; } }