AdoS0WarehouseOtherDtos.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. [MaxLength(50)]
  21. public string? DomainCode { get; set; }
  22. [Required(ErrorMessage = "物料编码不能为空")]
  23. [MaxLength(100)]
  24. public string ItemNum { get; set; } = string.Empty;
  25. public decimal? PackingQty { get; set; }
  26. public decimal? SmallPackingQty { get; set; }
  27. [MaxLength(50)]
  28. public string? PackingType { get; set; }
  29. public decimal? NetWeight { get; set; }
  30. [MaxLength(20)]
  31. public string? WeightUM { get; set; }
  32. public decimal? Length { get; set; }
  33. public decimal? Width { get; set; }
  34. public decimal? High { get; set; }
  35. [MaxLength(50)]
  36. public string? IssSpecific { get; set; }
  37. [MaxLength(100)]
  38. public string? CustItem { get; set; }
  39. [MaxLength(500)]
  40. public string? Remark { get; set; }
  41. public bool IsActive { get; set; } = true;
  42. [MaxLength(100)]
  43. public string? CreateUser { get; set; }
  44. [MaxLength(100)]
  45. public string? UpdateUser { get; set; }
  46. }
  47. // ========== 物料职责 ==========
  48. public class AdoS0EmpWorkDutyQueryDto
  49. {
  50. public long? CompanyRefId { get; set; }
  51. public long? FactoryRefId { get; set; }
  52. public string? DomainCode { get; set; }
  53. public string? Keyword { get; set; }
  54. public string? Employee { get; set; }
  55. public string? Location { get; set; }
  56. public string? ItemNum { get; set; }
  57. public int Page { get; set; } = 1;
  58. public int PageSize { get; set; } = 20;
  59. }
  60. public class AdoS0EmpWorkDutyUpsertDto
  61. {
  62. [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
  63. public long CompanyRefId { get; set; }
  64. [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
  65. public long FactoryRefId { get; set; }
  66. [MaxLength(50)]
  67. public string? DomainCode { get; set; }
  68. [Required(ErrorMessage = "员工编码不能为空")]
  69. [MaxLength(100)]
  70. public string Employee { get; set; } = string.Empty;
  71. [MaxLength(100)]
  72. public string? ItemNum { get; set; }
  73. [MaxLength(100)]
  74. public string? ItemNum1 { get; set; }
  75. [MaxLength(100)]
  76. public string? ItemNum2 { get; set; }
  77. [MaxLength(100)]
  78. public string? Location { get; set; }
  79. [MaxLength(100)]
  80. public string? ProdLine { get; set; }
  81. [MaxLength(500)]
  82. public string? Duty { get; set; }
  83. [MaxLength(50)]
  84. public string? EmpType { get; set; }
  85. [MaxLength(255)]
  86. public string? Ufld2 { get; set; }
  87. [MaxLength(100)]
  88. public string? CreateUser { get; set; }
  89. [MaxLength(100)]
  90. public string? UpdateUser { get; set; }
  91. }
  92. // ========== 物料状态任务指派 ==========
  93. public class AdoS0TaskAssignmentQueryDto
  94. {
  95. public long? CompanyRefId { get; set; }
  96. public long? FactoryRefId { get; set; }
  97. public string? DomainCode { get; set; }
  98. public string? Keyword { get; set; }
  99. public string? Rwlx { get; set; }
  100. public string? Zt { get; set; }
  101. public string? Sqr { get; set; }
  102. public int Page { get; set; } = 1;
  103. public int PageSize { get; set; } = 20;
  104. }
  105. public class AdoS0TaskAssignmentUpsertDto
  106. {
  107. [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
  108. public long CompanyRefId { get; set; }
  109. [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
  110. public long FactoryRefId { get; set; }
  111. [MaxLength(50)]
  112. public string? DomainCode { get; set; }
  113. public DateTime? Tcrq { get; set; }
  114. [MaxLength(100)]
  115. public string? Sqr { get; set; }
  116. [MaxLength(50)]
  117. public string? Rwlx { get; set; }
  118. [MaxLength(100)]
  119. public string? Wlbm { get; set; }
  120. public decimal? Sl { get; set; }
  121. [MaxLength(100)]
  122. public string? Rqpc { get; set; }
  123. [MaxLength(100)]
  124. public string? Yskw { get; set; }
  125. [MaxLength(100)]
  126. public string? Mdkw { get; set; }
  127. public DateTime? Xqsj { get; set; }
  128. [MaxLength(100)]
  129. public string? Clr { get; set; }
  130. [MaxLength(500)]
  131. public string? Bz { get; set; }
  132. [MaxLength(50)]
  133. public string? Zt { get; set; }
  134. [MaxLength(100)]
  135. public string? CreateUser { get; set; }
  136. [MaxLength(100)]
  137. public string? UpdateUser { get; set; }
  138. }