AdoS0QualityDtos.cs 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S0.Quality;
  2. public class AdoS0QualityPagedQueryDto
  3. {
  4. public string? Keyword { get; set; }
  5. public int Page { get; set; } = 1;
  6. public int PageSize { get; set; } = 20;
  7. }
  8. public class AdoS0QualitySimpleOptionDto
  9. {
  10. public long Value { get; set; }
  11. public string Label { get; set; } = string.Empty;
  12. }
  13. public class AdoS0QmsRawWhitelistUpsertDto
  14. {
  15. [Required(ErrorMessage = "供应商编码不能为空")]
  16. public string SupplierCode { get; set; } = string.Empty;
  17. [Required(ErrorMessage = "供应商名称不能为空")]
  18. public string SupplierName { get; set; } = string.Empty;
  19. }
  20. public class AdoS0QmsSamplingSchemeUpsertDto
  21. {
  22. [Required(ErrorMessage = "编号不能为空")]
  23. public string Number { get; set; } = string.Empty;
  24. [Required(ErrorMessage = "名称不能为空")]
  25. public string Name { get; set; } = string.Empty;
  26. public string? SamplingType { get; set; }
  27. public string? InspectionLevel { get; set; }
  28. public string? Strictness { get; set; }
  29. public string? AqlValue { get; set; }
  30. public string? InspectionType { get; set; }
  31. public long? InspectOrgId { get; set; }
  32. public string? InspectUserId { get; set; }
  33. public string? Status { get; set; }
  34. public string? EnableStatus { get; set; }
  35. public string? Comment { get; set; }
  36. }
  37. public class AdoS0QmsInspectionInstrumentUpsertDto
  38. {
  39. [Required(ErrorMessage = "编号不能为空")]
  40. public string Number { get; set; } = string.Empty;
  41. [Required(ErrorMessage = "名称不能为空")]
  42. public string Name { get; set; } = string.Empty;
  43. public string? Model { get; set; }
  44. public string? Specification { get; set; }
  45. public string? Manufacturer { get; set; }
  46. public string? Status { get; set; }
  47. public string? EnableStatus { get; set; }
  48. public string? Comment { get; set; }
  49. }
  50. public class AdoS0QmsInspectionMethodUpsertDto
  51. {
  52. [Required(ErrorMessage = "编号不能为空")]
  53. public string Number { get; set; } = string.Empty;
  54. [Required(ErrorMessage = "名称不能为空")]
  55. public string Name { get; set; } = string.Empty;
  56. public string? ControlStrategy { get; set; }
  57. public string? Status { get; set; }
  58. public string? EnableStatus { get; set; }
  59. public string? Comment { get; set; }
  60. }
  61. public class AdoS0QmsInspectionItemUpsertDto
  62. {
  63. [Required(ErrorMessage = "编号不能为空")]
  64. public string Number { get; set; } = string.Empty;
  65. [Required(ErrorMessage = "名称不能为空")]
  66. public string Name { get; set; } = string.Empty;
  67. public long? CheckMethodId { get; set; }
  68. public long? CheckBasisId { get; set; }
  69. public long? CheckInstructId { get; set; }
  70. public string? RadioGroupField { get; set; }
  71. public string? RadioGroupField1 { get; set; }
  72. public long? MetricType { get; set; }
  73. public string? Status { get; set; }
  74. public string? EnableStatus { get; set; }
  75. public string? Comment { get; set; }
  76. }
  77. public class AdoS0QmsInspectionFrequencyUpsertDto
  78. {
  79. [Required(ErrorMessage = "编号不能为空")]
  80. public string Number { get; set; } = string.Empty;
  81. [Required(ErrorMessage = "名称不能为空")]
  82. public string Name { get; set; } = string.Empty;
  83. public string? Remark { get; set; }
  84. public string? Status { get; set; }
  85. public string? EnableStatus { get; set; }
  86. }
  87. public class AdoS0QmsInspectionBasisEntryDto
  88. {
  89. public long? Id { get; set; }
  90. public long? Seq { get; set; }
  91. public string? DocumentNumber { get; set; }
  92. public string? DocumentName { get; set; }
  93. public string? Attachment { get; set; }
  94. }
  95. public class AdoS0QmsInspectionBasisUpsertDto
  96. {
  97. [Required(ErrorMessage = "编号不能为空")]
  98. public string Number { get; set; } = string.Empty;
  99. [Required(ErrorMessage = "名称不能为空")]
  100. public string Name { get; set; } = string.Empty;
  101. public string? ControlStrategy { get; set; }
  102. public long? CreateOrgId { get; set; }
  103. public long? UseOrgId { get; set; }
  104. public string? Comment { get; set; }
  105. public string? Status { get; set; }
  106. public string? EnableStatus { get; set; }
  107. public List<AdoS0QmsInspectionBasisEntryDto> Items { get; set; } = [];
  108. }
  109. public class AdoS0QmsInspectionStandardEntryDto
  110. {
  111. public long? Id { get; set; }
  112. public long? Seq { get; set; }
  113. public string? CheckItems { get; set; }
  114. public string? CheckContent { get; set; }
  115. public string? NormType { get; set; }
  116. public string? SpecValue { get; set; }
  117. public decimal? TopValue { get; set; }
  118. public decimal? DownValue { get; set; }
  119. public long? CheckBasisId { get; set; }
  120. public long? CheckMethodId { get; set; }
  121. public long? CheckFrequencyId { get; set; }
  122. public long? CheckInstructId { get; set; }
  123. public string? Unit { get; set; }
  124. public long? KeyQuality { get; set; }
  125. }
  126. public class AdoS0QmsInspectionStandardUpsertDto
  127. {
  128. [Required(ErrorMessage = "编号不能为空")]
  129. public string Number { get; set; } = string.Empty;
  130. [Required(ErrorMessage = "名称不能为空")]
  131. public string Name { get; set; } = string.Empty;
  132. public string? Comment { get; set; }
  133. public string? ControlStrategy { get; set; }
  134. public long? CreateOrgId { get; set; }
  135. public long? UseOrgId { get; set; }
  136. public string? Status { get; set; }
  137. public string? EnableStatus { get; set; }
  138. public List<AdoS0QmsInspectionStandardEntryDto> Items { get; set; } = [];
  139. }
  140. public class AdoS0QmsInspectionPlanEntryDto
  141. {
  142. public long? Id { get; set; }
  143. public int? Seq { get; set; }
  144. public string? SetupType { get; set; }
  145. public string? MaterialCode { get; set; }
  146. public string? MaterialName { get; set; }
  147. public long? MaterialTypeId { get; set; }
  148. public string? SupplierId { get; set; }
  149. public long? SamplingSchemeId { get; set; }
  150. public long? InspectionStandardId { get; set; }
  151. public long? InspectOrgId { get; set; }
  152. public long? InspectUserId { get; set; }
  153. public long? QRouteId { get; set; }
  154. public string? OperationNo { get; set; }
  155. public long? OperationId { get; set; }
  156. public long? InspectionFrequencyId { get; set; }
  157. public string? ProcessSeq { get; set; }
  158. public long? InspectionType { get; set; }
  159. }
  160. public class AdoS0QmsInspectionPlanUpsertDto
  161. {
  162. [Required(ErrorMessage = "编号不能为空")]
  163. public string Number { get; set; } = string.Empty;
  164. [Required(ErrorMessage = "名称不能为空")]
  165. public string Name { get; set; } = string.Empty;
  166. public string? BizTypeId { get; set; }
  167. public string? Comment { get; set; }
  168. public string? ControlStrategy { get; set; }
  169. public long? CreateOrgId { get; set; }
  170. public long? UseOrgId { get; set; }
  171. public string? Status { get; set; }
  172. public string? EnableStatus { get; set; }
  173. public List<AdoS0QmsInspectionPlanEntryDto> Items { get; set; } = [];
  174. }
  175. public class AdoS0QmsRawInspectionSpecEntryDto
  176. {
  177. public long? Id { get; set; }
  178. public int? Seq { get; set; }
  179. public string? InspectionItem { get; set; }
  180. public string? InspectionStandard { get; set; }
  181. public string? InspectionMethod { get; set; }
  182. public string? ImageCategory { get; set; }
  183. public string? SamplingScheme { get; set; }
  184. public string? Remark { get; set; }
  185. public string? Attachment { get; set; }
  186. public string? UpperLimit { get; set; }
  187. public string? LowerLimit { get; set; }
  188. }
  189. public class AdoS0QmsRawInspectionSpecUpsertDto
  190. {
  191. [Required(ErrorMessage = "文件编号不能为空")]
  192. public string FileNumber { get; set; } = string.Empty;
  193. public string? VersionNo { get; set; }
  194. public string? DrawingNo { get; set; }
  195. public string? RawMaterialName { get; set; }
  196. public string? MaterialCode { get; set; }
  197. public string? EffectiveDate { get; set; }
  198. public string? DrawingVersion { get; set; }
  199. public string? MaterialGrade { get; set; }
  200. public string? CavityOrMold { get; set; }
  201. public string? Attachment { get; set; }
  202. public string? FileName { get; set; }
  203. public string? Title { get; set; }
  204. public List<AdoS0QmsRawInspectionSpecEntryDto> Items { get; set; } = [];
  205. }
  206. public class AdoS0QmsProcessInspectionSpecEntryDto
  207. {
  208. public long? Id { get; set; }
  209. public string? OperationCode { get; set; }
  210. public string? OperationName { get; set; }
  211. public string? InspectionItem { get; set; }
  212. public string? InspectionMethod { get; set; }
  213. public string? InspectionSpec { get; set; }
  214. public string? ImageCategory { get; set; }
  215. public string? InspectionFrequency { get; set; }
  216. public string? TechnicalStandard { get; set; }
  217. public long? PeelingForce { get; set; }
  218. public string? UpperLimit { get; set; }
  219. public string? LowerLimit { get; set; }
  220. }
  221. public class AdoS0QmsProcessInspectionSpecUpsertDto
  222. {
  223. public string? ApplicableModel { get; set; }
  224. [Required(ErrorMessage = "文件编号不能为空")]
  225. public string FileNumber { get; set; } = string.Empty;
  226. public string? VersionNo { get; set; }
  227. public string? EffectiveDate { get; set; }
  228. public string? Attachment { get; set; }
  229. public string? MaterialCode { get; set; }
  230. public string? Attachment2 { get; set; }
  231. public int? Version { get; set; }
  232. public List<AdoS0QmsProcessInspectionSpecEntryDto> Items { get; set; } = [];
  233. }