| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- 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; }
- [MaxLength(8)]
- public string? DomainCode { get; set; }
- [MaxLength(8)]
- public string? Dept { get; set; }
- [MaxLength(4)]
- public string? NbrClass { get; set; }
- [Required(ErrorMessage = "单号类型编码不能为空")]
- [MaxLength(8)]
- public string NbrType { get; set; } = string.Empty;
- [MaxLength(24)]
- public string? Descr1 { get; set; }
- public bool IsActive { get; set; } = true;
- [MaxLength(24)]
- public string? CreateUser { get; set; }
- [MaxLength(24)]
- 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; }
- [MaxLength(50)]
- public string? DomainCode { get; set; }
- [Required(ErrorMessage = "单号类型编码不能为空")]
- [MaxLength(50)]
- public string NbrType { get; set; } = string.Empty;
- [MaxLength(50)]
- public string? Description { get; set; }
- [MaxLength(50)]
- public string? NbrPre1 { get; set; }
- [MaxLength(50)]
- public string? NbrPre2 { get; set; }
- [MaxLength(50)]
- 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; }
- [MaxLength(50)]
- public string? DateType { get; set; }
- public bool IsDateType { get; set; }
- [MaxLength(24)]
- public string? CreateUser { get; set; }
- [MaxLength(24)]
- public string? UpdateUser { get; set; }
- }
|