| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S0.Warehouse;
- // ========== 部门 ==========
- public class AdoS0DepartmentQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0DepartmentUpsertDto
- {
- [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 Department { get; set; } = string.Empty;
- public string? Descr { get; set; }
- public bool IsActive { get; set; } = true;
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- // ========== 雇员 ==========
- public class AdoS0EmployeeQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? Department { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0EmployeeUpsertDto
- {
- [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 Employee { get; set; } = string.Empty;
- public string? Name { get; set; }
- public string? Sex { get; set; }
- public string? Phone { get; set; }
- public string? Email { get; set; }
- public DateTime? BirthDate { get; set; }
- public string? Department { get; set; }
- public DateTime? DateEmployed { get; set; }
- public string? EmploymentStatus { get; set; }
- public string? MaritalStatus { get; set; }
- public string? JobTitle { get; set; }
- public DateTime? DateTerminated { get; set; }
- public string? WorkCtr { get; set; }
- public string? CarId { get; set; }
- public string? DefaultWorkLocation { get; set; }
- public bool IsActive { get; set; } = true;
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- // ========== 成本中心 ==========
- public class AdoS0CostCtrQueryDto
- {
- 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 AdoS0CostCtrUpsertDto
- {
- [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 CostCtr { get; set; } = string.Empty;
- public string? Descr { get; set; }
- public string? Ufld1 { get; set; }
- public DateTime? EffTime { get; set; }
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- // ========== 库位 ==========
- public class AdoS0LocationQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? Typed { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0LocationUpsertDto
- {
- [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 Location { get; set; } = string.Empty;
- public string? Descr { get; set; }
- public string? Storer { get; set; }
- public string? Typed { get; set; }
- public string? PhysicalAddress { get; set; }
- public bool IsActive { get; set; } = true;
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- // ========== 货架 ==========
- public class AdoS0LocationShelfQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Location { get; set; }
- public string? Keyword { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0LocationShelfUpsertDto
- {
- [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 Location { get; set; } = string.Empty;
- [Required(ErrorMessage = "货架编码不能为空")]
- public string InvShelf { get; set; } = string.Empty;
- public string? Descr { get; set; }
- public string? Area { get; set; }
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
|