AdoS0QualityEntities.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  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 = "gysbm", ColumnDescription = "供应商编码", IsNullable = true, Length = 255)]
  9. public string? SupplierCode { get; set; }
  10. [SugarColumn(ColumnName = "gysmc", ColumnDescription = "供应商名称", IsNullable = true, Length = 255)]
  11. public string? SupplierName { get; set; }
  12. }
  13. [SugarTable("qms_sampscheme", "抽样方案")]
  14. public class AdoS0QmsSamplingScheme
  15. {
  16. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  17. public long Id { get; set; }
  18. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  19. public string? Number { get; set; }
  20. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  21. public string? Name { get; set; }
  22. [SugarColumn(ColumnName = "FSAMPLINGTYPE", ColumnDescription = "抽样类型", IsNullable = true, Length = 255)]
  23. public string? SamplingType { get; set; }
  24. [SugarColumn(ColumnName = "FINSPECTIONLEVEL", ColumnDescription = "检验水准", IsNullable = true, Length = 255)]
  25. public string? InspectionLevel { get; set; }
  26. [SugarColumn(ColumnName = "FSTRICTNESS", ColumnDescription = "严格程度", IsNullable = true, Length = 255)]
  27. public string? Strictness { get; set; }
  28. [SugarColumn(ColumnName = "FAQLVALUE", ColumnDescription = "AQL值", IsNullable = true, Length = 255)]
  29. public string? AqlValue { get; set; }
  30. [SugarColumn(ColumnName = "FINSPECTIONTYPE", ColumnDescription = "检验类型", IsNullable = true, Length = 255)]
  31. public string? InspectionType { get; set; }
  32. [SugarColumn(ColumnName = "FINSPECTORGID", ColumnDescription = "检验组织", IsNullable = true, ColumnDataType = "bigint")]
  33. public long? InspectOrgId { get; set; }
  34. [SugarColumn(ColumnName = "FINSPECTUSERID", ColumnDescription = "检验员", IsNullable = true, Length = 255)]
  35. public string? InspectUserId { get; set; }
  36. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  37. public string? Status { get; set; }
  38. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  39. public string? EnableStatus { get; set; }
  40. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  41. public string? Comment { get; set; }
  42. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  43. public DateTime? CreateTime { get; set; }
  44. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  45. public DateTime? ModifyTime { get; set; }
  46. }
  47. [SugarTable("qms_inspectioninstru", "检验仪器")]
  48. public class AdoS0QmsInspectionInstrument
  49. {
  50. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  51. public long Id { get; set; }
  52. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  53. public string? Number { get; set; }
  54. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  55. public string? Name { get; set; }
  56. [SugarColumn(ColumnName = "FMODEL", ColumnDescription = "型号", IsNullable = true, Length = 255)]
  57. public string? Model { get; set; }
  58. [SugarColumn(ColumnName = "FSPECIFICATION", ColumnDescription = "规格", IsNullable = true, Length = 255)]
  59. public string? Specification { get; set; }
  60. [SugarColumn(ColumnName = "FMANUFACTURER", ColumnDescription = "生产厂家", IsNullable = true, Length = 255)]
  61. public string? Manufacturer { get; set; }
  62. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  63. public string? Status { get; set; }
  64. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  65. public string? EnableStatus { get; set; }
  66. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  67. public string? Comment { get; set; }
  68. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  69. public DateTime? CreateTime { get; set; }
  70. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  71. public DateTime? ModifyTime { get; set; }
  72. }
  73. [SugarTable("qms_inspection_method", "检验方法")]
  74. public class AdoS0QmsInspectionMethod
  75. {
  76. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  77. public long Id { get; set; }
  78. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  79. public string? Number { get; set; }
  80. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  81. public string? Name { get; set; }
  82. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  83. public string? ControlStrategy { get; set; }
  84. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  85. public string? Status { get; set; }
  86. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  87. public string? EnableStatus { get; set; }
  88. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  89. public string? Comment { get; set; }
  90. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  91. public DateTime? CreateTime { get; set; }
  92. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  93. public DateTime? ModifyTime { get; set; }
  94. }
  95. [SugarTable("qms_inspectionitems", "检验项目")]
  96. public class AdoS0QmsInspectionItem
  97. {
  98. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  99. public long Id { get; set; }
  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 = "FCHECKMETHOD", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "bigint")]
  105. public long? CheckMethodId { get; set; }
  106. [SugarColumn(ColumnName = "FCHECKBASIS", ColumnDescription = "检验依据", IsNullable = true, ColumnDataType = "bigint")]
  107. public long? CheckBasisId { get; set; }
  108. [SugarColumn(ColumnName = "FCHECKINSTRUCT", ColumnDescription = "检验指导书", IsNullable = true, ColumnDataType = "bigint")]
  109. public long? CheckInstructId { get; set; }
  110. [SugarColumn(ColumnName = "FRADIOGROUPFIELD", ColumnDescription = "单选组1", IsNullable = true, Length = 255)]
  111. public string? RadioGroupField { get; set; }
  112. [SugarColumn(ColumnName = "FRADIOGROUPFIELD1", ColumnDescription = "单选组2", IsNullable = true, Length = 255)]
  113. public string? RadioGroupField1 { get; set; }
  114. [SugarColumn(ColumnName = "zblx", ColumnDescription = "指标类型", IsNullable = true, ColumnDataType = "bigint")]
  115. public long? MetricType { get; set; }
  116. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  117. public string? Status { get; set; }
  118. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  119. public string? EnableStatus { get; set; }
  120. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  121. public string? Comment { get; set; }
  122. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  123. public DateTime? CreateTime { get; set; }
  124. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  125. public DateTime? ModifyTime { get; set; }
  126. }
  127. [SugarTable("qms_inspectionfreq", "检验频率")]
  128. public class AdoS0QmsInspectionFrequency
  129. {
  130. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  131. public long Id { get; set; }
  132. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  133. public string? Number { get; set; }
  134. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  135. public string? Name { get; set; }
  136. [SugarColumn(ColumnName = "FREMARK", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  137. public string? Remark { get; set; }
  138. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  139. public string? Status { get; set; }
  140. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  141. public string? EnableStatus { get; set; }
  142. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  143. public DateTime? CreateTime { get; set; }
  144. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  145. public DateTime? ModifyTime { get; set; }
  146. }
  147. // ========== 聚合头表 ==========
  148. [SugarTable("qms_inspectioncrit", "检验依据")]
  149. public class AdoS0QmsInspectionBasis
  150. {
  151. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  152. public long Id { get; set; }
  153. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  154. public string? Number { get; set; }
  155. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  156. public string? Name { get; set; }
  157. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  158. public string? ControlStrategy { get; set; }
  159. [SugarColumn(ColumnName = "FCREATEORGID", ColumnDescription = "创建组织", IsNullable = true, ColumnDataType = "bigint")]
  160. public long? CreateOrgId { get; set; }
  161. [SugarColumn(ColumnName = "FUSEORG", ColumnDescription = "使用组织", IsNullable = true, ColumnDataType = "bigint")]
  162. public long? UseOrgId { get; set; }
  163. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  164. public string? Comment { get; set; }
  165. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  166. public string? Status { get; set; }
  167. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  168. public string? EnableStatus { get; set; }
  169. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  170. public DateTime? CreateTime { get; set; }
  171. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  172. public DateTime? ModifyTime { get; set; }
  173. }
  174. [SugarTable("qms_inspectionstd", "检验标准")]
  175. public class AdoS0QmsInspectionStandard
  176. {
  177. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  178. public long Id { get; set; }
  179. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 30)]
  180. public string? Number { get; set; }
  181. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  182. public string? Name { get; set; }
  183. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  184. public string? Comment { get; set; }
  185. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 30)]
  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 = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 30)]
  192. public string? Status { get; set; }
  193. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 30)]
  194. public string? EnableStatus { get; set; }
  195. }
  196. [SugarTable("qms_inspectpro", "检验方案")]
  197. public class AdoS0QmsInspectionPlan
  198. {
  199. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  200. public long Id { get; set; }
  201. [SugarColumn(ColumnName = "FNUMBER", ColumnDescription = "编号", IsNullable = true, Length = 255)]
  202. public string? Number { get; set; }
  203. [SugarColumn(ColumnName = "FNAME", ColumnDescription = "名称", IsNullable = true, Length = 255)]
  204. public string? Name { get; set; }
  205. [SugarColumn(ColumnName = "FBIZSTYPEID", ColumnDescription = "检验业务类型", IsNullable = true, Length = 255)]
  206. public string? BizTypeId { get; set; }
  207. [SugarColumn(ColumnName = "FCOMMENT", ColumnDescription = "备注", IsNullable = true, Length = 255)]
  208. public string? Comment { get; set; }
  209. [SugarColumn(ColumnName = "FCTRLSTRATEGY", ColumnDescription = "控制策略", IsNullable = true, Length = 255)]
  210. public string? ControlStrategy { get; set; }
  211. [SugarColumn(ColumnName = "FCREATEORGID", ColumnDescription = "创建组织", IsNullable = true, ColumnDataType = "bigint")]
  212. public long? CreateOrgId { get; set; }
  213. [SugarColumn(ColumnName = "FUSEORGID", ColumnDescription = "使用组织", IsNullable = true, ColumnDataType = "bigint")]
  214. public long? UseOrgId { get; set; }
  215. [SugarColumn(ColumnName = "FSTATUS", ColumnDescription = "状态", IsNullable = true, Length = 255)]
  216. public string? Status { get; set; }
  217. [SugarColumn(ColumnName = "FENABLE", ColumnDescription = "启用", IsNullable = true, Length = 255)]
  218. public string? EnableStatus { get; set; }
  219. [SugarColumn(ColumnName = "FCREATETIME", ColumnDescription = "创建时间", IsNullable = true)]
  220. public DateTime? CreateTime { get; set; }
  221. [SugarColumn(ColumnName = "FMODIFYTIME", ColumnDescription = "修改时间", IsNullable = true)]
  222. public DateTime? ModifyTime { get; set; }
  223. }
  224. [SugarTable("qms_jygf", "原材料检验规范")]
  225. public class AdoS0QmsRawInspectionSpec
  226. {
  227. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  228. public long Id { get; set; }
  229. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  230. public string? FileNumber { get; set; }
  231. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  232. public string? VersionNo { get; set; }
  233. [SugarColumn(ColumnName = "th", ColumnDescription = "图号", IsNullable = true, Length = 255)]
  234. public string? DrawingNo { get; set; }
  235. [SugarColumn(ColumnName = "yclmc", ColumnDescription = "原材料名称", IsNullable = true, Length = 255)]
  236. public string? RawMaterialName { get; set; }
  237. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, Length = 255)]
  238. public string? MaterialCode { get; set; }
  239. [SugarColumn(ColumnName = "sxrq", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  240. public string? EffectiveDate { get; set; }
  241. [SugarColumn(ColumnName = "tzbb", ColumnDescription = "图纸版本", IsNullable = true, Length = 255)]
  242. public string? DrawingVersion { get; set; }
  243. [SugarColumn(ColumnName = "czclph", ColumnDescription = "材质/材料牌号", IsNullable = true, Length = 255)]
  244. public string? MaterialGrade { get; set; }
  245. [SugarColumn(ColumnName = "xm", ColumnDescription = "穴/模", IsNullable = true, Length = 255)]
  246. public string? CavityOrMold { get; set; }
  247. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  248. public string? Attachment { get; set; }
  249. [SugarColumn(ColumnName = "filename", ColumnDescription = "附件文件名", IsNullable = true, ColumnDataType = "text")]
  250. public string? FileName { get; set; }
  251. [SugarColumn(ColumnName = "title", ColumnDescription = "附件标题", IsNullable = true, Length = 255)]
  252. public string? Title { get; set; }
  253. }
  254. [SugarTable("qms_gcjygf", "过程检验规范")]
  255. public class AdoS0QmsProcessInspectionSpec
  256. {
  257. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  258. public long Id { get; set; }
  259. [SugarColumn(ColumnName = "syxh", ColumnDescription = "适用型号", IsNullable = true, Length = 255)]
  260. public string? ApplicableModel { get; set; }
  261. [SugarColumn(ColumnName = "wjbh", ColumnDescription = "文件编号", IsNullable = true, Length = 255)]
  262. public string? FileNumber { get; set; }
  263. [SugarColumn(ColumnName = "bb", ColumnDescription = "版本", IsNullable = true, Length = 255)]
  264. public string? VersionNo { get; set; }
  265. [SugarColumn(ColumnName = "sxrj", ColumnDescription = "生效日期", IsNullable = true, Length = 255)]
  266. public string? EffectiveDate { get; set; }
  267. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  268. public string? Attachment { get; set; }
  269. [SugarColumn(ColumnName = "wlbm", ColumnDescription = "物料编码", IsNullable = true, ColumnDataType = "text")]
  270. public string? MaterialCode { get; set; }
  271. [SugarColumn(ColumnName = "fj2", ColumnDescription = "附件2", IsNullable = true, ColumnDataType = "text")]
  272. public string? Attachment2 { get; set; }
  273. [SugarColumn(ColumnName = "version", ColumnDescription = "版本号", IsNullable = true, ColumnDataType = "int")]
  274. public int? Version { get; set; }
  275. }
  276. // ========== 聚合子表 ==========
  277. [SugarTable("qms_inspeccrit_entry", "检验依据-技术文档")]
  278. public class AdoS0QmsInspectionBasisEntry
  279. {
  280. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  281. public long Id { get; set; }
  282. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  283. public long? MasterId { get; set; }
  284. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "bigint")]
  285. public long? Seq { get; set; }
  286. [SugarColumn(ColumnName = "FWORDNUM", ColumnDescription = "文档编号", IsNullable = true, Length = 255)]
  287. public string? DocumentNumber { get; set; }
  288. [SugarColumn(ColumnName = "FWORDNAME", ColumnDescription = "文档名称", IsNullable = true, Length = 255)]
  289. public string? DocumentName { get; set; }
  290. [SugarColumn(ColumnName = "FJ", ColumnDescription = "附件", IsNullable = true, Length = 255)]
  291. public string? Attachment { get; set; }
  292. }
  293. [SugarTable("qms_inspectionstdentry", "检验标准-检验项目")]
  294. public class AdoS0QmsInspectionStandardEntry
  295. {
  296. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  297. public long Id { get; set; }
  298. [SugarColumn(ColumnName = "FENTRYID", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  299. public long? MasterId { get; set; }
  300. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "bigint")]
  301. public long? Seq { get; set; }
  302. [SugarColumn(ColumnName = "FCHECKITEMS", ColumnDescription = "检验项目", IsNullable = true, Length = 255)]
  303. public string? CheckItems { get; set; }
  304. [SugarColumn(ColumnName = "FCHECKCONTENT", ColumnDescription = "检验内容", IsNullable = true, Length = 255)]
  305. public string? CheckContent { get; set; }
  306. [SugarColumn(ColumnName = "FNORMTYPE", ColumnDescription = "比较符", IsNullable = true, Length = 255)]
  307. public string? NormType { get; set; }
  308. [SugarColumn(ColumnName = "FSPECVALUE", ColumnDescription = "标准", IsNullable = true, Length = 255)]
  309. public string? SpecValue { get; set; }
  310. [SugarColumn(ColumnName = "FTOPVALUE", ColumnDescription = "上限", IsNullable = true, ColumnDataType = "decimal(23,10)")]
  311. public decimal? TopValue { get; set; }
  312. [SugarColumn(ColumnName = "FDOWNVALUE", ColumnDescription = "下限", IsNullable = true, ColumnDataType = "decimal(23,10)")]
  313. public decimal? DownValue { get; set; }
  314. [SugarColumn(ColumnName = "FCHECKBASIS", ColumnDescription = "检验依据", IsNullable = true, ColumnDataType = "bigint")]
  315. public long? CheckBasisId { get; set; }
  316. [SugarColumn(ColumnName = "FCHECKMETHOD", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "bigint")]
  317. public long? CheckMethodId { get; set; }
  318. [SugarColumn(ColumnName = "FCHECKFREQ", ColumnDescription = "检验频率", IsNullable = true, ColumnDataType = "bigint")]
  319. public long? CheckFrequencyId { get; set; }
  320. [SugarColumn(ColumnName = "FCHECKINSTRUCT", ColumnDescription = "检验指导书", IsNullable = true, ColumnDataType = "bigint")]
  321. public long? CheckInstructId { get; set; }
  322. [SugarColumn(ColumnName = "FUNITLD", ColumnDescription = "单位", IsNullable = true, Length = 255)]
  323. public string? Unit { get; set; }
  324. [SugarColumn(ColumnName = "FKEYQUALITY", ColumnDescription = "关键质量", IsNullable = true, ColumnDataType = "bigint")]
  325. public long? KeyQuality { get; set; }
  326. }
  327. [SugarTable("qms_inspro_ent", "检验方案-方案设置")]
  328. public class AdoS0QmsInspectionPlanEntry
  329. {
  330. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  331. public long Id { get; set; }
  332. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  333. public long? MasterId { get; set; }
  334. [SugarColumn(ColumnName = "FSEQ", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "int")]
  335. public int? Seq { get; set; }
  336. [SugarColumn(ColumnName = "FSETUPTYPE", ColumnDescription = "设置类型", IsNullable = true, Length = 255)]
  337. public string? SetupType { get; set; }
  338. [SugarColumn(ColumnName = "FMATERIELID", ColumnDescription = "物料编码", IsNullable = true, Length = 255)]
  339. public string? MaterialCode { get; set; }
  340. [SugarColumn(ColumnName = "wlmc", ColumnDescription = "物料名称", IsNullable = true, Length = 255)]
  341. public string? MaterialName { get; set; }
  342. [SugarColumn(ColumnName = "FMATERIELTYPEID", ColumnDescription = "物料分类", IsNullable = true, ColumnDataType = "bigint")]
  343. public long? MaterialTypeId { get; set; }
  344. [SugarColumn(ColumnName = "FSUPPLIERID", ColumnDescription = "供应商", IsNullable = true, Length = 255)]
  345. public string? SupplierId { get; set; }
  346. [SugarColumn(ColumnName = "FSAMPLEPROID", ColumnDescription = "抽样方案", IsNullable = true, ColumnDataType = "bigint")]
  347. public long? SamplingSchemeId { get; set; }
  348. [SugarColumn(ColumnName = "FINSPECTSTDID", ColumnDescription = "检验标准", IsNullable = true, ColumnDataType = "bigint")]
  349. public long? InspectionStandardId { get; set; }
  350. [SugarColumn(ColumnName = "FINSPECTORGID", ColumnDescription = "检验组织", IsNullable = true, ColumnDataType = "bigint")]
  351. public long? InspectOrgId { get; set; }
  352. [SugarColumn(ColumnName = "FINSPECTUSERID", ColumnDescription = "检验员", IsNullable = true, ColumnDataType = "bigint")]
  353. public long? InspectUserId { get; set; }
  354. [SugarColumn(ColumnName = "FQROUTEID", ColumnDescription = "工艺路线", IsNullable = true, ColumnDataType = "bigint")]
  355. public long? QRouteId { get; set; }
  356. [SugarColumn(ColumnName = "FOPERATIONNO", ColumnDescription = "工序号", IsNullable = true, Length = 255)]
  357. public string? OperationNo { get; set; }
  358. [SugarColumn(ColumnName = "FOPROPERATION", ColumnDescription = "工序", IsNullable = true, ColumnDataType = "bigint")]
  359. public long? OperationId { get; set; }
  360. [SugarColumn(ColumnName = "FWSTRSPROID", ColumnDescription = "检验频率", IsNullable = true, ColumnDataType = "bigint")]
  361. public long? InspectionFrequencyId { get; set; }
  362. [SugarColumn(ColumnName = "FROCESSSEQ", ColumnDescription = "工序顺序", IsNullable = true, Length = 255)]
  363. public string? ProcessSeq { get; set; }
  364. [SugarColumn(ColumnName = "jylx", ColumnDescription = "检验类型", IsNullable = true, ColumnDataType = "bigint")]
  365. public long? InspectionType { get; set; }
  366. }
  367. [SugarTable("qms_jygfzb", "原材料检验规范-检验明细")]
  368. public class AdoS0QmsRawInspectionSpecEntry
  369. {
  370. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  371. public long Id { get; set; }
  372. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  373. public long? MasterId { get; set; }
  374. [SugarColumn(ColumnName = "xh", ColumnDescription = "序号", IsNullable = true, ColumnDataType = "int")]
  375. public int? Seq { get; set; }
  376. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  377. public string? InspectionItem { get; set; }
  378. [SugarColumn(ColumnName = "jybz", ColumnDescription = "检验标准", IsNullable = true, ColumnDataType = "text")]
  379. public string? InspectionStandard { get; set; }
  380. [SugarColumn(ColumnName = "jygjjyff", ColumnDescription = "检验工具/检验方法", IsNullable = true, ColumnDataType = "text")]
  381. public string? InspectionMethod { get; set; }
  382. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  383. public string? ImageCategory { get; set; }
  384. [SugarColumn(ColumnName = "cyfa", ColumnDescription = "抽样方案", IsNullable = true, ColumnDataType = "text")]
  385. public string? SamplingScheme { get; set; }
  386. [SugarColumn(ColumnName = "zs", ColumnDescription = "注释", IsNullable = true, ColumnDataType = "text")]
  387. public string? Remark { get; set; }
  388. [SugarColumn(ColumnName = "fj", ColumnDescription = "附件", IsNullable = true, ColumnDataType = "text")]
  389. public string? Attachment { get; set; }
  390. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  391. public string? UpperLimit { get; set; }
  392. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  393. public string? LowerLimit { get; set; }
  394. }
  395. [SugarTable("qms_gcjygfzb", "过程检验规范-检验明细")]
  396. public class AdoS0QmsProcessInspectionSpecEntry
  397. {
  398. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  399. public long Id { get; set; }
  400. [SugarColumn(ColumnName = "glid", ColumnDescription = "主表ID", IsNullable = true, ColumnDataType = "bigint")]
  401. public long? MasterId { get; set; }
  402. [SugarColumn(ColumnName = "gxdh", ColumnDescription = "工序代号", IsNullable = true, ColumnDataType = "text")]
  403. public string? OperationCode { get; set; }
  404. [SugarColumn(ColumnName = "gxmc", ColumnDescription = "工序名称", IsNullable = true, ColumnDataType = "text")]
  405. public string? OperationName { get; set; }
  406. [SugarColumn(ColumnName = "jyxm", ColumnDescription = "检验项目", IsNullable = true, ColumnDataType = "text")]
  407. public string? InspectionItem { get; set; }
  408. [SugarColumn(ColumnName = "jyff", ColumnDescription = "检验方法", IsNullable = true, ColumnDataType = "text")]
  409. public string? InspectionMethod { get; set; }
  410. [SugarColumn(ColumnName = "jygg", ColumnDescription = "检验规格", IsNullable = true, ColumnDataType = "text")]
  411. public string? InspectionSpec { get; set; }
  412. [SugarColumn(ColumnName = "txfl", ColumnDescription = "图像分类", IsNullable = true, ColumnDataType = "text")]
  413. public string? ImageCategory { get; set; }
  414. [SugarColumn(ColumnName = "jypc", ColumnDescription = "检验频次", IsNullable = true, ColumnDataType = "text")]
  415. public string? InspectionFrequency { get; set; }
  416. [SugarColumn(ColumnName = "jsbz", ColumnDescription = "技术标准", IsNullable = true, ColumnDataType = "text")]
  417. public string? TechnicalStandard { get; set; }
  418. [SugarColumn(ColumnName = "PeelingForce", ColumnDescription = "PeelingForce", IsNullable = true, ColumnDataType = "bigint")]
  419. public long? PeelingForce { get; set; }
  420. [SugarColumn(ColumnName = "sx", ColumnDescription = "上限", IsNullable = true, Length = 50)]
  421. public string? UpperLimit { get; set; }
  422. [SugarColumn(ColumnName = "xx", ColumnDescription = "下限", IsNullable = true, Length = 50)]
  423. public string? LowerLimit { get; set; }
  424. }