| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S0.Warehouse;
- // ========== 单号类型 ==========
- public class AdoS0NbrTypeQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? Dept { get; set; }
- public string? NbrClass { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0NbrTypeUpsertDto
- {
- [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
- public long CompanyRefId { get; set; }
- [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
- public long FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Dept { get; set; }
- public string? NbrClass { get; set; }
- [Required(ErrorMessage = "单号类型编码不能为空")]
- public string NbrType { get; set; } = string.Empty;
- public string? Descr1 { get; set; }
- public bool IsActive { get; set; } = true;
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- // ========== 单号规则 ==========
- public class AdoS0NbrControlQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0NbrControlUpsertDto
- {
- [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
- public long CompanyRefId { get; set; }
- [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
- public long FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- [Required(ErrorMessage = "单号类型编码不能为空")]
- public string NbrType { get; set; } = string.Empty;
- public string? Description { get; set; }
- public string? NbrPre1 { get; set; }
- public string? NbrPre2 { get; set; }
- public string? NbrPre3 { get; set; }
- public int? IniValue { get; set; }
- public int? MinValue { get; set; }
- public int? MaxValue { get; set; }
- public bool AllowReset { get; set; }
- public bool AllowSkip { get; set; }
- public bool AllowManual { get; set; }
- public string? DateType { get; set; }
- public bool IsDateType { get; set; }
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
|