| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- namespace Admin.NET.Plugin.AiDOP.Production;
- /// <summary>产线节假日列表</summary>
- public class HolidayMasterListInput
- {
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- /// <summary>类型:休假 / 调班(Ufld1)</summary>
- public string? HolidayType { get; set; }
- public string? OrderBy { get; set; }
- public string? Sort { get; set; }
- }
- /// <summary>保存 HolidayMaster</summary>
- 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; }
- /// <summary>休假 / 调班</summary>
- [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;
- }
|