AdoS0QualityEntities.cs 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Quality;
  2. // ========== 单表主数据 ==========
  3. [SugarTable("qms_lymjbmd", "原材料白名单")]
  4. public class AdoS0QmsRawWhitelist
  5. {
  6. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  7. public long Id { get; set; }
  8. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  9. public long TenantId { get; set; } = 1300000000001L;
  10. [SugarColumn(ColumnName = "gysbm", ColumnDescription = "供应商编码", IsNullable = true, Length = 255)]
  11. public string? SupplierCode { get; set; }
  12. [SugarColumn(ColumnName = "gysmc", ColumnDescription = "供应商名称", IsNullable = true, Length = 255)]
  13. public string? SupplierName { get; set; }
  14. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, Length = 255)]
  15. public string? MaterialCode { get; set; }
  16. [SugarColumn(ColumnName = "wlmc", ColumnDescription = "物料名称", IsNullable = true, Length = 255)]
  17. public string? MaterialName { get; set; }
  18. [SugarColumn(ColumnName = "dim_type", ColumnDescription = "维度类型(supplier/material/material_supplier)", IsNullable = true, Length = 50)]
  19. public string? DimensionType { get; set; }
  20. }
  21. [SugarTable("qms_sampscheme", "抽样方案")]
  22. public class AdoS0QmsSamplingScheme
  23. {
  24. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  25. public long Id { get; set; }
  26. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  27. public long TenantId { get; set; } = 1300000000001L;
  28. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  29. public string? Number { get; set; }
  30. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  31. public string? Name { get; set; }
  32. [SugarColumn(ColumnName = "FSAMPLINGTYPE", ColumnDescription = "抽样类型", IsNullable = true, Length = 255)]
  33. public string? SamplingType { get; set; }
  34. [SugarColumn(ColumnName = "FINSPECTIONLEVEL", ColumnDescription = "检验水准", IsNullable = true, Length = 255)]
  35. public string? InspectionLevel { get; set; }
  36. [SugarColumn(ColumnName = "FSTRICTNESS", ColumnDescription = "严格程度", IsNullable = true, Length = 255)]
  37. public string? Strictness { get; set; }
  38. [SugarColumn(ColumnName = "FAQLVALUE", ColumnDescription = "AQL值", IsNullable = true, Length = 255)]
  39. public string? AqlValue { get; set; }
  40. [SugarColumn(ColumnName = "FINSPECTIONTYPE", ColumnDescription = "检验类型", IsNullable = true, Length = 255)]
  41. public string? InspectionType { get; set; }
  42. [SugarColumn(ColumnName = "FINSPECTORGID", ColumnDescription = "检验组织", IsNullable = true, ColumnDataType = "bigint")]
  43. public long? InspectOrgId { get; set; }
  44. [SugarColumn(ColumnName = "FINSPECTUSERID", ColumnDescription = "检验员", IsNullable = true, Length = 255)]
  45. public string? InspectUserId { get; set; }
  46. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  47. public string? Status { get; set; }
  48. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  49. public string? EnableStatus { get; set; }
  50. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  51. public string? Comment { get; set; }
  52. [SugarColumn(ColumnName = "FFIXEDRATE", ColumnDescription = "固定抽样比例(%)", ColumnDataType = "decimal(10,4)", IsNullable = true)]
  53. public decimal? FixedSamplingRate { get; set; }
  54. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  55. public DateTime? CreateTime { get; set; }
  56. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  57. public DateTime? ModifyTime { get; set; }
  58. }
  59. [SugarTable("qms_inspectioninstru", "检验仪器")]
  60. public class AdoS0QmsInspectionInstrument
  61. {
  62. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  63. public long Id { get; set; }
  64. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  65. public long TenantId { get; set; } = 1300000000001L;
  66. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  67. public string? Number { get; set; }
  68. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  69. public string? Name { get; set; }
  70. [SugarColumn(ColumnName = "FMODEL", ColumnDescription = "型号", IsNullable = true, Length = 255)]
  71. public string? Model { get; set; }
  72. [SugarColumn(ColumnName = "FSPECIFICATION", ColumnDescription = "规格", IsNullable = true, Length = 255)]
  73. public string? Specification { get; set; }
  74. [SugarColumn(ColumnName = "FMANUFACTURER", ColumnDescription = "生产厂家", IsNullable = true, Length = 255)]
  75. public string? Manufacturer { get; set; }
  76. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  77. public string? Status { get; set; }
  78. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  79. public string? EnableStatus { get; set; }
  80. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  81. public string? Comment { get; set; }
  82. [SugarColumn(ColumnName = "gauge_category", ColumnDescription = "计量器具分类", IsNullable = true, Length = 255)]
  83. public string? GaugeCategory { get; set; }
  84. [SugarColumn(ColumnName = "calibration_cycle_days", ColumnDescription = "校准周期(天)", IsNullable = true, ColumnDataType = "int")]
  85. public int? CalibrationCycleDays { get; set; }
  86. [SugarColumn(ColumnName = "next_calibration_date", ColumnDescription = "下次校准日期", IsNullable = true, Length = 50)]
  87. public string? NextCalibrationDate { get; set; }
  88. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  89. public DateTime? CreateTime { get; set; }
  90. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  91. public DateTime? ModifyTime { get; set; }
  92. }
  93. [SugarTable("qms_inspection_method", "检验方法")]
  94. public class AdoS0QmsInspectionMethod
  95. {
  96. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  97. public long Id { get; set; }
  98. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  99. public long TenantId { get; set; } = 1300000000001L;
  100. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  101. public string? Number { get; set; }
  102. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  103. public string? Name { get; set; }
  104. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  105. public string? ControlStrategy { get; set; }
  106. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  107. public string? Status { get; set; }
  108. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  109. public string? EnableStatus { get; set; }
  110. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  111. public string? Comment { get; set; }
  112. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  113. public DateTime? CreateTime { get; set; }
  114. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  115. public DateTime? ModifyTime { get; set; }
  116. }
  117. [SugarTable("qms_inspectionitems", "检验项目")]
  118. public class AdoS0QmsInspectionItem
  119. {
  120. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  121. public long Id { get; set; }
  122. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  123. public long TenantId { get; set; } = 1300000000001L;
  124. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  125. public string? Number { get; set; }
  126. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  127. public string? Name { get; set; }
  128. [SugarColumn(ColumnName = "FCHECKMETHOD", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "bigint")]
  129. public long? CheckMethodId { get; set; }
  130. [SugarColumn(ColumnName = "FCHECKBASIS", ColumnDescription = "检验依据", IsNullable = true, ColumnDataType = "bigint")]
  131. public long? CheckBasisId { get; set; }
  132. [SugarColumn(ColumnName = "FCHECKINSTRUCT", ColumnDescription = "检验指导书", IsNullable = true, ColumnDataType = "bigint")]
  133. public long? CheckInstructId { get; set; }
  134. [SugarColumn(ColumnName = "FRADIOGROUPFIELD", ColumnDescription = "单选组1", IsNullable = true, Length = 255)]
  135. public string? RadioGroupField { get; set; }
  136. [SugarColumn(ColumnName = "FRADIOGROUPFIELD1", ColumnDescription = "单选组2", IsNullable = true, Length = 255)]
  137. public string? RadioGroupField1 { get; set; }
  138. [SugarColumn(ColumnName = "zblx", ColumnDescription = "指标类型", IsNullable = true, ColumnDataType = "bigint")]
  139. public long? MetricType { get; set; }
  140. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  141. public string? Status { get; set; }
  142. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  143. public string? EnableStatus { get; set; }
  144. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  145. public string? Comment { get; set; }
  146. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  147. public DateTime? CreateTime { get; set; }
  148. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  149. public DateTime? ModifyTime { get; set; }
  150. }
  151. [SugarTable("qms_inspectionfreq", "检验频率")]
  152. public class AdoS0QmsInspectionFrequency
  153. {
  154. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  155. public long Id { get; set; }
  156. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  157. public long TenantId { get; set; } = 1300000000001L;
  158. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  159. public string? Number { get; set; }
  160. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  161. public string? Name { get; set; }
  162. [SugarColumn(ColumnName = "FREMARK", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  163. public string? Remark { get; set; }
  164. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  165. public string? Status { get; set; }
  166. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  167. public string? EnableStatus { get; set; }
  168. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  169. public DateTime? CreateTime { get; set; }
  170. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  171. public DateTime? ModifyTime { get; set; }
  172. }
  173. // ========== 聚合头表 ==========
  174. [SugarTable("qms_inspectioncrit", "检验依据")]
  175. public class AdoS0QmsInspectionBasis
  176. {
  177. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  178. public long Id { get; set; }
  179. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  180. public long TenantId { get; set; } = 1300000000001L;
  181. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  182. public string? Number { get; set; }
  183. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  184. public string? Name { get; set; }
  185. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  186. public string? ControlStrategy { get; set; }
  187. [SugarColumn(ColumnName = "FCREATEORGID", ColumnDescription = "创建组织", IsNullable = true, ColumnDataType = "bigint")]
  188. public long? CreateOrgId { get; set; }
  189. [SugarColumn(ColumnName = "FUSEORG", ColumnDescription = "使用组织", IsNullable = true, ColumnDataType = "bigint")]
  190. public long? UseOrgId { get; set; }
  191. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  192. public string? Comment { get; set; }
  193. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  194. public string? Status { get; set; }
  195. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  196. public string? EnableStatus { get; set; }
  197. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  198. public DateTime? CreateTime { get; set; }
  199. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  200. public DateTime? ModifyTime { get; set; }
  201. }
  202. [SugarTable("qms_inspectionstd", "检验标准")]
  203. public class AdoS0QmsInspectionStandard
  204. {
  205. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  206. public long Id { get; set; }
  207. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  208. public long TenantId { get; set; } = 1300000000001L;
  209. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 30)]
  210. public string? Number { get; set; }
  211. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  212. public string? Name { get; set; }
  213. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  214. public string? Comment { get; set; }
  215. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 30)]
  216. public string? ControlStrategy { get; set; }
  217. [SugarColumn(ColumnName = "FCREATEORGID", ColumnDescription = "创建组织", IsNullable = true, ColumnDataType = "bigint")]
  218. public long? CreateOrgId { get; set; }
  219. [SugarColumn(ColumnName = "FUSEORG", ColumnDescription = "使用组织", IsNullable = true, ColumnDataType = "bigint")]
  220. public long? UseOrgId { get; set; }
  221. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 30)]
  222. public string? Status { get; set; }
  223. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 30)]
  224. public string? EnableStatus { get; set; }
  225. }
  226. [SugarTable("qms_inspectpro", "检验方案")]
  227. public class AdoS0QmsInspectionPlan
  228. {
  229. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  230. public long Id { get; set; }
  231. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  232. public long TenantId { get; set; } = 1300000000001L;
  233. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  234. public string? Number { get; set; }
  235. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  236. public string? Name { get; set; }
  237. [SugarColumn(ColumnName = "FBIZSTYPEID", ColumnDescription = "检验业务类型", IsNullable = true, Length = 255)]
  238. public string? BizTypeId { get; set; }
  239. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  240. public string? Comment { get; set; }
  241. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  242. public string? ControlStrategy { get; set; }
  243. [SugarColumn(ColumnName = "FCREATEORGID", ColumnDescription = "创建组织", IsNullable = true, ColumnDataType = "bigint")]
  244. public long? CreateOrgId { get; set; }
  245. [SugarColumn(ColumnName = "FUSEORGID", ColumnDescription = "使用组织", IsNullable = true, ColumnDataType = "bigint")]
  246. public long? UseOrgId { get; set; }
  247. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  248. public string? Status { get; set; }
  249. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  250. public string? EnableStatus { get; set; }
  251. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  252. public DateTime? CreateTime { get; set; }
  253. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  254. public DateTime? ModifyTime { get; set; }
  255. }
  256. [SugarTable("qms_jygf", "原材料检验规范")]
  257. public class AdoS0QmsRawInspectionSpec
  258. {
  259. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  260. public long Id { get; set; }
  261. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  262. public long TenantId { get; set; } = 1300000000001L;
  263. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  264. public string? FileNumber { get; set; }
  265. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  266. public string? VersionNo { get; set; }
  267. [SugarColumn(ColumnName = "th", ColumnDescription = "图号", IsNullable = true, Length = 255)]
  268. public string? DrawingNo { get; set; }
  269. [SugarColumn(ColumnName = "yclmc", ColumnDescription = "原材料名称", IsNullable = true, Length = 255)]
  270. public string? RawMaterialName { get; set; }
  271. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, Length = 255)]
  272. public string? MaterialCode { get; set; }
  273. [SugarColumn(ColumnName = "sxrq", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  274. public string? EffectiveDate { get; set; }
  275. [SugarColumn(ColumnName = "tzbb", ColumnDescription = "图纸版本", IsNullable = true, Length = 255)]
  276. public string? DrawingVersion { get; set; }
  277. [SugarColumn(ColumnName = "czclph", ColumnDescription = "材质/材料牌号", IsNullable = true, Length = 255)]
  278. public string? MaterialGrade { get; set; }
  279. [SugarColumn(ColumnName = "xm", ColumnDescription = "穴/模", IsNullable = true, Length = 255)]
  280. public string? CavityOrMold { get; set; }
  281. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  282. public string? Attachment { get; set; }
  283. [SugarColumn(ColumnName = "filename", ColumnDescription = "附件文件名", IsNullable = true, ColumnDataType = "text")]
  284. public string? FileName { get; set; }
  285. [SugarColumn(ColumnName = "title", ColumnDescription = "附件标题", IsNullable = true, Length = 255)]
  286. public string? Title { get; set; }
  287. }
  288. [SugarTable("qms_gcjygf", "过程检验规范")]
  289. public class AdoS0QmsProcessInspectionSpec
  290. {
  291. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  292. public long Id { get; set; }
  293. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  294. public long TenantId { get; set; } = 1300000000001L;
  295. [SugarColumn(ColumnName = "syxh", ColumnDescription = "适用型号", IsNullable = true, Length = 255)]
  296. public string? ApplicableModel { get; set; }
  297. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  298. public string? FileNumber { get; set; }
  299. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  300. public string? VersionNo { get; set; }
  301. [SugarColumn(ColumnName = "sxrj", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  302. public string? EffectiveDate { get; set; }
  303. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  304. public string? Attachment { get; set; }
  305. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, ColumnDataType = "text")]
  306. public string? MaterialCode { get; set; }
  307. [SugarColumn(ColumnName = "fj2", ColumnDescription = "附件2", IsNullable = true, ColumnDataType = "text")]
  308. public string? Attachment2 { get; set; }
  309. [SugarColumn(ColumnName = "version", ColumnDescription = "版本号", IsNullable = true, ColumnDataType = "int")]
  310. public int? Version { get; set; }
  311. }
  312. [SugarTable("qms_fqcjygf", "FQC检验规范")]
  313. public class AdoS0QmsFqcInspectionSpec
  314. {
  315. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  316. public long Id { get; set; }
  317. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  318. public long TenantId { get; set; } = 1300000000001L;
  319. [SugarColumn(ColumnName = "syxh", ColumnDescription = "适用型号", IsNullable = true, Length = 255)]
  320. public string? ApplicableModel { get; set; }
  321. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  322. public string? FileNumber { get; set; }
  323. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  324. public string? VersionNo { get; set; }
  325. [SugarColumn(ColumnName = "sxrj", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  326. public string? EffectiveDate { get; set; }
  327. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  328. public string? Attachment { get; set; }
  329. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, ColumnDataType = "text")]
  330. public string? MaterialCode { get; set; }
  331. [SugarColumn(ColumnName = "fj2", ColumnDescription = "附件2", IsNullable = true, ColumnDataType = "text")]
  332. public string? Attachment2 { get; set; }
  333. [SugarColumn(ColumnName = "version", ColumnDescription = "版本号", IsNullable = true, ColumnDataType = "int")]
  334. public int? Version { get; set; }
  335. }
  336. [SugarTable("qms_oqcjygf", "OQC检验规范")]
  337. public class AdoS0QmsOqcInspectionSpec
  338. {
  339. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  340. public long Id { get; set; }
  341. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  342. public long TenantId { get; set; } = 1300000000001L;
  343. [SugarColumn(ColumnName = "syxh", ColumnDescription = "适用型号", IsNullable = true, Length = 255)]
  344. public string? ApplicableModel { get; set; }
  345. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  346. public string? FileNumber { get; set; }
  347. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  348. public string? VersionNo { get; set; }
  349. [SugarColumn(ColumnName = "sxrj", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  350. public string? EffectiveDate { get; set; }
  351. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  352. public string? Attachment { get; set; }
  353. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, ColumnDataType = "text")]
  354. public string? MaterialCode { get; set; }
  355. [SugarColumn(ColumnName = "fj2", ColumnDescription = "附件2", IsNullable = true, ColumnDataType = "text")]
  356. public string? Attachment2 { get; set; }
  357. [SugarColumn(ColumnName = "version", ColumnDescription = "版本号", IsNullable = true, ColumnDataType = "int")]
  358. public int? Version { get; set; }
  359. }
  360. // ========== 聚合子表 ==========
  361. [SugarTable("qms_inspeccrit_entry", "检验依据-技术文档")]
  362. public class AdoS0QmsInspectionBasisEntry
  363. {
  364. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  365. public long Id { get; set; }
  366. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  367. public long TenantId { get; set; } = 1300000000001L;
  368. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  369. public long? MasterId { get; set; }
  370. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "bigint")]
  371. public long? Seq { get; set; }
  372. [SugarColumn(ColumnName = "FWORDNUM", ColumnDescription = "文档编号", IsNullable = true, Length = 255)]
  373. public string? DocumentNumber { get; set; }
  374. [SugarColumn(ColumnName = "FWORDNAME", ColumnDescription = "文档名称", IsNullable = true, Length = 255)]
  375. public string? DocumentName { get; set; }
  376. [SugarColumn(ColumnName = "FJ", ColumnDescription = "附件", IsNullable = true, Length = 255)]
  377. public string? Attachment { get; set; }
  378. }
  379. [SugarTable("qms_inspectionstdentry", "检验标准-检验项目")]
  380. public class AdoS0QmsInspectionStandardEntry
  381. {
  382. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  383. public long Id { get; set; }
  384. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  385. public long TenantId { get; set; } = 1300000000001L;
  386. [SugarColumn(ColumnName = "FENTRYID", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  387. public long? MasterId { get; set; }
  388. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "bigint")]
  389. public long? Seq { get; set; }
  390. [SugarColumn(ColumnName = "FCHECKITEMS", ColumnDescription = "检验项目", IsNullable = true, Length = 255)]
  391. public string? CheckItems { get; set; }
  392. [SugarColumn(ColumnName = "FCHECKCONTENT", ColumnDescription = "检验内容", IsNullable = true, Length = 255)]
  393. public string? CheckContent { get; set; }
  394. [SugarColumn(ColumnName = "FNORMTYPE", ColumnDescription = "比较符", IsNullable = true, Length = 255)]
  395. public string? NormType { get; set; }
  396. [SugarColumn(ColumnName = "FSPECVALUE", ColumnDescription = "标准", IsNullable = true, Length = 255)]
  397. public string? SpecValue { get; set; }
  398. [SugarColumn(ColumnName = "FTOPVALUE", ColumnDescription = "上限", IsNullable = true, ColumnDataType = "decimal(23,10)")]
  399. public decimal? TopValue { get; set; }
  400. [SugarColumn(ColumnName = "FDOWNVALUE", ColumnDescription = "下限", IsNullable = true, ColumnDataType = "decimal(23,10)")]
  401. public decimal? DownValue { get; set; }
  402. [SugarColumn(ColumnName = "FCHECKBASIS", ColumnDescription = "检验依据", IsNullable = true, ColumnDataType = "bigint")]
  403. public long? CheckBasisId { get; set; }
  404. [SugarColumn(ColumnName = "FCHECKMETHOD", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "bigint")]
  405. public long? CheckMethodId { get; set; }
  406. [SugarColumn(ColumnName = "FCHECKFREQ", ColumnDescription = "检验频率", IsNullable = true, ColumnDataType = "bigint")]
  407. public long? CheckFrequencyId { get; set; }
  408. [SugarColumn(ColumnName = "FCHECKINSTRUCT", ColumnDescription = "检验指导书", IsNullable = true, ColumnDataType = "bigint")]
  409. public long? CheckInstructId { get; set; }
  410. [SugarColumn(ColumnName = "FUNITLD", ColumnDescription = "单位", IsNullable = true, Length = 255)]
  411. public string? Unit { get; set; }
  412. [SugarColumn(ColumnName = "FKEYQUALITY", ColumnDescription = "关键质量", IsNullable = true, ColumnDataType = "bigint")]
  413. public long? KeyQuality { get; set; }
  414. }
  415. [SugarTable("qms_inspro_ent", "检验方案-方案设置")]
  416. public class AdoS0QmsInspectionPlanEntry
  417. {
  418. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  419. public long Id { get; set; }
  420. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  421. public long TenantId { get; set; } = 1300000000001L;
  422. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  423. public long? MasterId { get; set; }
  424. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "int")]
  425. public int? Seq { get; set; }
  426. [SugarColumn(ColumnName = "FSETUPTYPE", ColumnDescription = "设置类型", IsNullable = true, Length = 255)]
  427. public string? SetupType { get; set; }
  428. [SugarColumn(ColumnName = "FMATERIELID", ColumnDescription = "物料编码", IsNullable = true, Length = 255)]
  429. public string? MaterialCode { get; set; }
  430. [SugarColumn(ColumnName = "wlmc", ColumnDescription = "物料名称", IsNullable = true, Length = 255)]
  431. public string? MaterialName { get; set; }
  432. [SugarColumn(ColumnName = "FMATERIELTYPEID", ColumnDescription = "物料分类", IsNullable = true, ColumnDataType = "bigint")]
  433. public long? MaterialTypeId { get; set; }
  434. [SugarColumn(ColumnName = "FSUPPLIERID", ColumnDescription = "供应商", IsNullable = true, Length = 255)]
  435. public string? SupplierId { get; set; }
  436. [SugarColumn(ColumnName = "FSAMPLEPROID", ColumnDescription = "抽样方案", IsNullable = true, ColumnDataType = "bigint")]
  437. public long? SamplingSchemeId { get; set; }
  438. [SugarColumn(ColumnName = "FINSPECTSTDID", ColumnDescription = "检验标准", IsNullable = true, ColumnDataType = "bigint")]
  439. public long? InspectionStandardId { get; set; }
  440. [SugarColumn(ColumnName = "FINSPECTORGID", ColumnDescription = "检验组织", IsNullable = true, ColumnDataType = "bigint")]
  441. public long? InspectOrgId { get; set; }
  442. [SugarColumn(ColumnName = "FINSPECTUSERID", ColumnDescription = "检验员", IsNullable = true, ColumnDataType = "bigint")]
  443. public long? InspectUserId { get; set; }
  444. [SugarColumn(ColumnName = "FQROUTEID", ColumnDescription = "工艺路线", IsNullable = true, ColumnDataType = "bigint")]
  445. public long? QRouteId { get; set; }
  446. [SugarColumn(ColumnName = "FOPERATIONNO", ColumnDescription = "工序号", IsNullable = true, Length = 255)]
  447. public string? OperationNo { get; set; }
  448. [SugarColumn(ColumnName = "FOPROPERATION", ColumnDescription = "工序", IsNullable = true, ColumnDataType = "bigint")]
  449. public long? OperationId { get; set; }
  450. [SugarColumn(ColumnName = "FWSTRSPROID", ColumnDescription = "检验频率", IsNullable = true, ColumnDataType = "bigint")]
  451. public long? InspectionFrequencyId { get; set; }
  452. [SugarColumn(ColumnName = "FROCESSSEQ", ColumnDescription = "工序顺序", IsNullable = true, Length = 255)]
  453. public string? ProcessSeq { get; set; }
  454. [SugarColumn(ColumnName = "jylx", ColumnDescription = "检验类型", IsNullable = true, ColumnDataType = "bigint")]
  455. public long? InspectionType { get; set; }
  456. }
  457. [SugarTable("qms_jygfzb", "原材料检验规范-检验明细")]
  458. public class AdoS0QmsRawInspectionSpecEntry
  459. {
  460. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  461. public long Id { get; set; }
  462. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  463. public long TenantId { get; set; } = 1300000000001L;
  464. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  465. public long? MasterId { get; set; }
  466. [SugarColumn(ColumnName = "xh", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "int")]
  467. public int? Seq { get; set; }
  468. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  469. public string? InspectionItem { get; set; }
  470. [SugarColumn(ColumnName = "jybz", ColumnDescription = "检验标准", IsNullable = true, ColumnDataType = "text")]
  471. public string? InspectionStandard { get; set; }
  472. [SugarColumn(ColumnName = "jygjjyff", ColumnDescription = "检验工具/检验方法", IsNullable = true, ColumnDataType = "text")]
  473. public string? InspectionMethod { get; set; }
  474. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  475. public string? ImageCategory { get; set; }
  476. [SugarColumn(ColumnName = "cyfa", ColumnDescription = "抽样方案", IsNullable = true, ColumnDataType = "text")]
  477. public string? SamplingScheme { get; set; }
  478. [SugarColumn(ColumnName = "zs", ColumnDescription = "注释", IsNullable = true, ColumnDataType = "text")]
  479. public string? Remark { get; set; }
  480. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  481. public string? Attachment { get; set; }
  482. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  483. public string? UpperLimit { get; set; }
  484. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  485. public string? LowerLimit { get; set; }
  486. }
  487. [SugarTable("qms_gcjygfzb", "过程检验规范-检验明细")]
  488. public class AdoS0QmsProcessInspectionSpecEntry
  489. {
  490. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  491. public long Id { get; set; }
  492. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  493. public long TenantId { get; set; } = 1300000000001L;
  494. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  495. public long? MasterId { get; set; }
  496. [SugarColumn(ColumnName = "gxdh", ColumnDescription = "工序代号", IsNullable = true, ColumnDataType = "text")]
  497. public string? OperationCode { get; set; }
  498. [SugarColumn(ColumnName = "gxmc", ColumnDescription = "工序名称", IsNullable = true, ColumnDataType = "text")]
  499. public string? OperationName { get; set; }
  500. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  501. public string? InspectionItem { get; set; }
  502. [SugarColumn(ColumnName = "jyff", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "text")]
  503. public string? InspectionMethod { get; set; }
  504. [SugarColumn(ColumnName = "jygg", ColumnDescription = "检验规格", IsNullable = true, ColumnDataType = "text")]
  505. public string? InspectionSpec { get; set; }
  506. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  507. public string? ImageCategory { get; set; }
  508. [SugarColumn(ColumnName = "jypc", ColumnDescription = "检验频次", IsNullable = true, ColumnDataType = "text")]
  509. public string? InspectionFrequency { get; set; }
  510. [SugarColumn(ColumnName = "jsbz", ColumnDescription = "技术标准", IsNullable = true, ColumnDataType = "text")]
  511. public string? TechnicalStandard { get; set; }
  512. [SugarColumn(ColumnName = "PeelingForce", ColumnDescription = "PeelingForce", IsNullable = true, ColumnDataType = "bigint")]
  513. public long? PeelingForce { get; set; }
  514. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  515. public string? UpperLimit { get; set; }
  516. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  517. public string? LowerLimit { get; set; }
  518. }
  519. [SugarTable("qms_fqcjygfzb", "FQC检验规范-检验明细")]
  520. public class AdoS0QmsFqcInspectionSpecEntry
  521. {
  522. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  523. public long Id { get; set; }
  524. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  525. public long TenantId { get; set; } = 1300000000001L;
  526. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  527. public long? MasterId { get; set; }
  528. [SugarColumn(ColumnName = "gxdh", ColumnDescription = "工序代号", IsNullable = true, ColumnDataType = "text")]
  529. public string? OperationCode { get; set; }
  530. [SugarColumn(ColumnName = "gxmc", ColumnDescription = "工序名称", IsNullable = true, ColumnDataType = "text")]
  531. public string? OperationName { get; set; }
  532. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  533. public string? InspectionItem { get; set; }
  534. [SugarColumn(ColumnName = "jyff", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "text")]
  535. public string? InspectionMethod { get; set; }
  536. [SugarColumn(ColumnName = "jygg", ColumnDescription = "检验规格", IsNullable = true, ColumnDataType = "text")]
  537. public string? InspectionSpec { get; set; }
  538. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  539. public string? ImageCategory { get; set; }
  540. [SugarColumn(ColumnName = "jypc", ColumnDescription = "检验频次", IsNullable = true, ColumnDataType = "text")]
  541. public string? InspectionFrequency { get; set; }
  542. [SugarColumn(ColumnName = "jsbz", ColumnDescription = "技术标准", IsNullable = true, ColumnDataType = "text")]
  543. public string? TechnicalStandard { get; set; }
  544. [SugarColumn(ColumnName = "PeelingForce", ColumnDescription = "PeelingForce", IsNullable = true, ColumnDataType = "bigint")]
  545. public long? PeelingForce { get; set; }
  546. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  547. public string? UpperLimit { get; set; }
  548. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  549. public string? LowerLimit { get; set; }
  550. }
  551. [SugarTable("qms_oqcjygfzb", "OQC检验规范-检验明细")]
  552. public class AdoS0QmsOqcInspectionSpecEntry
  553. {
  554. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  555. public long Id { get; set; }
  556. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  557. public long TenantId { get; set; } = 1300000000001L;
  558. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  559. public long? MasterId { get; set; }
  560. [SugarColumn(ColumnName = "gxdh", ColumnDescription = "工序代号", IsNullable = true, ColumnDataType = "text")]
  561. public string? OperationCode { get; set; }
  562. [SugarColumn(ColumnName = "gxmc", ColumnDescription = "工序名称", IsNullable = true, ColumnDataType = "text")]
  563. public string? OperationName { get; set; }
  564. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  565. public string? InspectionItem { get; set; }
  566. [SugarColumn(ColumnName = "jyff", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "text")]
  567. public string? InspectionMethod { get; set; }
  568. [SugarColumn(ColumnName = "jygg", ColumnDescription = "检验规格", IsNullable = true, ColumnDataType = "text")]
  569. public string? InspectionSpec { get; set; }
  570. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  571. public string? ImageCategory { get; set; }
  572. [SugarColumn(ColumnName = "jypc", ColumnDescription = "检验频次", IsNullable = true, ColumnDataType = "text")]
  573. public string? InspectionFrequency { get; set; }
  574. [SugarColumn(ColumnName = "jsbz", ColumnDescription = "技术标准", IsNullable = true, ColumnDataType = "text")]
  575. public string? TechnicalStandard { get; set; }
  576. [SugarColumn(ColumnName = "PeelingForce", ColumnDescription = "PeelingForce", IsNullable = true, ColumnDataType = "bigint")]
  577. public long? PeelingForce { get; set; }
  578. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  579. public string? UpperLimit { get; set; }
  580. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  581. public string? LowerLimit { get; set; }
  582. }
  583. [SugarTable("qms_quality_base_type", "质量基础主数据")]
  584. public class AdoS0QmsQualityBaseType
  585. {
  586. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  587. public long Id { get; set; }
  588. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户Id", IsNullable = false, ColumnDataType = "bigint")]
  589. public long TenantId { get; set; } = 1300000000001L;
  590. [SugarColumn(ColumnName = "type_category", Length = 100)]
  591. public string TypeCategory { get; set; } = string.Empty;
  592. [SugarColumn(ColumnName = "type_code", Length = 100)]
  593. public string TypeCode { get; set; } = string.Empty;
  594. [SugarColumn(ColumnName = "short_name", Length = 200)]
  595. public string ShortName { get; set; } = string.Empty;
  596. [SugarColumn(ColumnName = "full_name", Length = 255, IsNullable = true)]
  597. public string? FullName { get; set; }
  598. [SugarColumn(ColumnName = "is_active", ColumnDataType = "boolean")]
  599. public bool IsActive { get; set; } = true;
  600. [SugarColumn(ColumnName = "remark", Length = 500, IsNullable = true)]
  601. public string? Remark { get; set; }
  602. [SugarColumn(ColumnName = "create_time", IsNullable = true)]
  603. public DateTime? CreateTime { get; set; }
  604. [SugarColumn(ColumnName = "modify_time", IsNullable = true)]
  605. public DateTime? ModifyTime { get; set; }
  606. }