AdoS0WarehouseOtherDtos.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S0.Warehouse;
  2. // ========== 零件包装规格 ==========
  3. public class AdoS0ItemPackQueryDto
  4. {
  5. public long? CompanyRefId { get; set; }
  6. public long? FactoryRefId { get; set; }
  7. public string? DomainCode { get; set; }
  8. public string? Keyword { get; set; }
  9. public string? PackingType { get; set; }
  10. public bool? IsActive { get; set; }
  11. public int Page { get; set; } = 1;
  12. public int PageSize { get; set; } = 20;
  13. }
  14. public class AdoS0ItemPackUpsertDto
  15. {
  16. [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
  17. public long CompanyRefId { get; set; }
  18. [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
  19. public long FactoryRefId { get; set; }
  20. public string? DomainCode { get; set; }
  21. [Required(ErrorMessage = "物料编码不能为空")]
  22. public string ItemNum { get; set; } = string.Empty;
  23. public decimal? PackingQty { get; set; }
  24. public decimal? SmallPackingQty { get; set; }
  25. public string? PackingType { get; set; }
  26. public decimal? NetWeight { get; set; }
  27. public string? WeightUM { get; set; }
  28. public decimal? Length { get; set; }
  29. public decimal? Width { get; set; }
  30. public decimal? High { get; set; }
  31. public string? IssSpecific { get; set; }
  32. public string? CustItem { get; set; }
  33. public string? Remark { get; set; }
  34. public bool IsActive { get; set; } = true;
  35. public string? CreateUser { get; set; }
  36. public string? UpdateUser { get; set; }
  37. }
  38. // ========== 物料职责 ==========
  39. public class AdoS0EmpWorkDutyQueryDto
  40. {
  41. public long? CompanyRefId { get; set; }
  42. public long? FactoryRefId { get; set; }
  43. public string? DomainCode { get; set; }
  44. public string? Keyword { get; set; }
  45. public string? Employee { get; set; }
  46. public string? Location { get; set; }
  47. public int Page { get; set; } = 1;
  48. public int PageSize { get; set; } = 20;
  49. }
  50. public class AdoS0EmpWorkDutyUpsertDto
  51. {
  52. [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
  53. public long CompanyRefId { get; set; }
  54. [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
  55. public long FactoryRefId { get; set; }
  56. public string? DomainCode { get; set; }
  57. [Required(ErrorMessage = "员工编码不能为空")]
  58. public string Employee { get; set; } = string.Empty;
  59. public string? ItemNum1 { get; set; }
  60. public string? ItemNum2 { get; set; }
  61. public string? Location { get; set; }
  62. public string? ProdLine { get; set; }
  63. public string? Duty { get; set; }
  64. public string? EmpType { get; set; }
  65. public string? Ufld2 { get; set; }
  66. public string? CreateUser { get; set; }
  67. public string? UpdateUser { get; set; }
  68. }
  69. // ========== 物料状态任务指派 ==========
  70. public class AdoS0TaskAssignmentQueryDto
  71. {
  72. public long? CompanyRefId { get; set; }
  73. public long? FactoryRefId { get; set; }
  74. public string? DomainCode { get; set; }
  75. public string? Keyword { get; set; }
  76. public string? Rwlx { get; set; }
  77. public string? Zt { get; set; }
  78. public string? Sqr { get; set; }
  79. public int Page { get; set; } = 1;
  80. public int PageSize { get; set; } = 20;
  81. }
  82. public class AdoS0TaskAssignmentUpsertDto
  83. {
  84. [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
  85. public long CompanyRefId { get; set; }
  86. [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
  87. public long FactoryRefId { get; set; }
  88. public string? DomainCode { get; set; }
  89. public DateTime? Tcrq { get; set; }
  90. public string? Sqr { get; set; }
  91. public string? Rwlx { get; set; }
  92. public string? Wlbm { get; set; }
  93. public decimal? Sl { get; set; }
  94. public string? Rqpc { get; set; }
  95. public string? Yskw { get; set; }
  96. public string? Mdkw { get; set; }
  97. public DateTime? Xqsj { get; set; }
  98. public string? Clr { get; set; }
  99. public string? Bz { get; set; }
  100. public string? Zt { get; set; }
  101. public string? CreateUser { get; set; }
  102. public string? UpdateUser { get; set; }
  103. }