namespace Admin.NET.Plugin.AiDOP.Production;
/// 排产异常记录分页查询
public class ScheduleExceptionListInput
{
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
/// 执行时间(模糊,对 OptTime 字符串化后 LIKE)
public string? OptTime { get; set; }
/// 工单编号(模糊)
public string? WorkOrd { get; set; }
/// 物料编码(精确)
public string? ItemNum { get; set; }
}
/// 排产异常保存(新增 / 编辑)
public class ScheduleExceptionSaveInput
{
/// 主键,空或 0 为新增
public long? Id { get; set; }
[Required(ErrorMessage = "公司域名不能为空")]
public string Domain { get; set; } = string.Empty;
[Required(ErrorMessage = "工单编号不能为空")]
public string WorkOrd { get; set; } = string.Empty;
[Required(ErrorMessage = "物料编码不能为空")]
public string ItemNum { get; set; } = string.Empty;
public string? Remark { get; set; }
public string? Type { get; set; }
public DateTime? OptTime { get; set; }
public DateTime? CreateTime { get; set; }
}