namespace Admin.NET.Plugin.AiDOP.Production;
/// 产线节假日列表
public class HolidayMasterListInput
{
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
/// 类型:休假 / 调班(Ufld1)
public string? HolidayType { get; set; }
public string? OrderBy { get; set; }
public string? Sort { get; set; }
}
/// 保存 HolidayMaster
public class HolidayMasterSaveInput
{
public long? Id { get; set; }
[Required(ErrorMessage = "节假日名称不能为空")]
[MaxLength(8)]
public string Holiday { get; set; } = string.Empty;
[Required(ErrorMessage = "日期不能为空")]
public DateTime? Dated { get; set; }
/// 休假 / 调班
[Required(ErrorMessage = "类型不能为空")]
[MaxLength(8)]
public string Ufld1 { get; set; } = string.Empty;
[Required(ErrorMessage = "工厂编码不能为空")]
[MaxLength(8)]
public string Domain { get; set; } = string.Empty;
[Required(ErrorMessage = "地点不能为空")]
[MaxLength(4)]
public string Site { get; set; } = string.Empty;
}