Mould.java 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. package com.hssx.cloudmodel.entity;
  2. import java.math.BigDecimal;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import com.baomidou.mybatisplus.annotation.IdType;
  5. import com.baomidou.mybatisplus.extension.activerecord.Model;
  6. import com.baomidou.mybatisplus.annotation.TableId;
  7. import java.time.LocalDateTime;
  8. import com.baomidou.mybatisplus.annotation.TableField;
  9. import java.io.Serializable;
  10. /**
  11. * <p>
  12. *
  13. * </p>
  14. *
  15. * @author seya
  16. * @since 2020-08-16
  17. */
  18. @TableName("tb_mould")
  19. public class Mould extends Model<Mould> {
  20. private static final long serialVersionUID=1L;
  21. /**
  22. * 主键
  23. */
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. /**
  27. * 模具编号
  28. */
  29. @TableField("model_no")
  30. private String modelNo;
  31. /**
  32. * 模具名称
  33. */
  34. @TableField("model_name")
  35. private String modelName;
  36. /**
  37. * 水隙
  38. */
  39. @TableField("water_gap")
  40. private BigDecimal waterGap;
  41. /**
  42. * 吨位
  43. */
  44. @TableField("tonnage")
  45. private BigDecimal tonnage;
  46. /**
  47. * 每模平均周期
  48. */
  49. @TableField("oc_cycle")
  50. private BigDecimal ocCycle;
  51. /**
  52. * 日输出量
  53. */
  54. @TableField("daily_output")
  55. private BigDecimal dailyOutput;
  56. /**
  57. * 所属资产方公司id
  58. */
  59. @TableField("company_id")
  60. private Integer companyId;
  61. /**
  62. * 当前版本id
  63. */
  64. @TableField("current_version_id")
  65. private Integer currentVersionId;
  66. /**
  67. * 状态0-静止 1-运动 3-待报废 4-已报废 5-异常,6-掉线
  68. */
  69. @TableField("state")
  70. private String state;
  71. /**
  72. * 是否删除
  73. */
  74. @TableField("is_delete")
  75. private Integer isDelete;
  76. /**
  77. * 创建者id
  78. */
  79. @TableField("creator_id")
  80. private Integer creatorId;
  81. /**
  82. * 项目id
  83. */
  84. @TableField("project_id")
  85. private Integer projectId;
  86. /**
  87. * 模具对应的射频识别
  88. */
  89. @TableField("rfid")
  90. private String rfid;
  91. /**
  92. * 使用寿命 单位:次
  93. */
  94. @TableField("setting_life")
  95. private Integer settingLife;
  96. /**
  97. * 生产方公司位置
  98. */
  99. @TableField("area")
  100. private String area;
  101. /**
  102. * 生产方名称
  103. */
  104. @TableField("produce_company_name")
  105. private String produceCompanyName;
  106. /**
  107. * 初始模次(保养设定次数)
  108. */
  109. @TableField("initial_modulus")
  110. private Integer initialModulus;
  111. /**
  112. * 对应设备id
  113. */
  114. @TableField("equipment_id")
  115. private Integer equipmentId;
  116. /**
  117. * 在项目中所属的部分如:1/10
  118. */
  119. @TableField("belong_project_grade")
  120. private String belongProjectGrade;
  121. /**
  122. * 生产方公司id
  123. */
  124. @TableField("produce_company_id")
  125. private Integer produceCompanyId;
  126. /**
  127. * 运行次数
  128. */
  129. @TableField("run_times")
  130. private Integer runTimes;
  131. /**
  132. * 保养提醒 0-不需要,1-需要
  133. */
  134. @TableField("is_maintain")
  135. private Integer isMaintain;
  136. /**
  137. * 日常保养设定次数:1,2,3
  138. */
  139. @TableField("maintain_count")
  140. private String maintainCount;
  141. /**
  142. * 穴数
  143. */
  144. @TableField("holes")
  145. private String holes;
  146. /**
  147. * 更新前的id
  148. */
  149. @TableField("pre_update_id")
  150. private Integer preUpdateId;
  151. /**
  152. * 历史运行次数只对换绑云模盒时进行处理
  153. */
  154. @TableField("history_run_times")
  155. private Integer historyRunTimes;
  156. /**
  157. * 接受设备上传数据的时间
  158. */
  159. @TableField("last_rec_time")
  160. private LocalDateTime lastRecTime;
  161. /**
  162. * 固定保养次数
  163. */
  164. @TableField("fixed_maintain_count")
  165. private String fixedMaintainCount;
  166. /**
  167. * 移模状态:0-未申请,1-申请移模待审核,2-审核通过,3-审核不通过
  168. */
  169. @TableField("move_apply_state")
  170. private Integer moveApplyState;
  171. /**
  172. * 移模原因
  173. */
  174. @TableField("move_apply_reason")
  175. private String moveApplyReason;
  176. /**
  177. * 移模时间
  178. */
  179. @TableField("move_apply_time")
  180. private String moveApplyTime;
  181. /**
  182. * 移模地点
  183. */
  184. @TableField("move_apply_address")
  185. private String moveApplyAddress;
  186. public Integer getId() {
  187. return id;
  188. }
  189. public void setId(Integer id) {
  190. this.id = id;
  191. }
  192. public String getModelNo() {
  193. return modelNo;
  194. }
  195. public void setModelNo(String modelNo) {
  196. this.modelNo = modelNo;
  197. }
  198. public String getModelName() {
  199. return modelName;
  200. }
  201. public void setModelName(String modelName) {
  202. this.modelName = modelName;
  203. }
  204. public BigDecimal getWaterGap() {
  205. return waterGap;
  206. }
  207. public void setWaterGap(BigDecimal waterGap) {
  208. this.waterGap = waterGap;
  209. }
  210. public BigDecimal getTonnage() {
  211. return tonnage;
  212. }
  213. public void setTonnage(BigDecimal tonnage) {
  214. this.tonnage = tonnage;
  215. }
  216. public BigDecimal getOcCycle() {
  217. return ocCycle;
  218. }
  219. public void setOcCycle(BigDecimal ocCycle) {
  220. this.ocCycle = ocCycle;
  221. }
  222. public BigDecimal getDailyOutput() {
  223. return dailyOutput;
  224. }
  225. public void setDailyOutput(BigDecimal dailyOutput) {
  226. this.dailyOutput = dailyOutput;
  227. }
  228. public Integer getCompanyId() {
  229. return companyId;
  230. }
  231. public void setCompanyId(Integer companyId) {
  232. this.companyId = companyId;
  233. }
  234. public Integer getCurrentVersionId() {
  235. return currentVersionId;
  236. }
  237. public void setCurrentVersionId(Integer currentVersionId) {
  238. this.currentVersionId = currentVersionId;
  239. }
  240. public String getState() {
  241. return state;
  242. }
  243. public void setState(String state) {
  244. this.state = state;
  245. }
  246. public Integer getIsDelete() {
  247. return isDelete;
  248. }
  249. public void setIsDelete(Integer isDelete) {
  250. this.isDelete = isDelete;
  251. }
  252. public Integer getCreatorId() {
  253. return creatorId;
  254. }
  255. public void setCreatorId(Integer creatorId) {
  256. this.creatorId = creatorId;
  257. }
  258. public Integer getProjectId() {
  259. return projectId;
  260. }
  261. public void setProjectId(Integer projectId) {
  262. this.projectId = projectId;
  263. }
  264. public String getRfid() {
  265. return rfid;
  266. }
  267. public void setRfid(String rfid) {
  268. this.rfid = rfid;
  269. }
  270. public Integer getSettingLife() {
  271. return settingLife;
  272. }
  273. public void setSettingLife(Integer settingLife) {
  274. this.settingLife = settingLife;
  275. }
  276. public String getArea() {
  277. return area;
  278. }
  279. public void setArea(String area) {
  280. this.area = area;
  281. }
  282. public String getProduceCompanyName() {
  283. return produceCompanyName;
  284. }
  285. public void setProduceCompanyName(String produceCompanyName) {
  286. this.produceCompanyName = produceCompanyName;
  287. }
  288. public Integer getInitialModulus() {
  289. return initialModulus;
  290. }
  291. public void setInitialModulus(Integer initialModulus) {
  292. this.initialModulus = initialModulus;
  293. }
  294. public Integer getEquipmentId() {
  295. return equipmentId;
  296. }
  297. public void setEquipmentId(Integer equipmentId) {
  298. this.equipmentId = equipmentId;
  299. }
  300. public String getBelongProjectGrade() {
  301. return belongProjectGrade;
  302. }
  303. public void setBelongProjectGrade(String belongProjectGrade) {
  304. this.belongProjectGrade = belongProjectGrade;
  305. }
  306. public Integer getProduceCompanyId() {
  307. return produceCompanyId;
  308. }
  309. public void setProduceCompanyId(Integer produceCompanyId) {
  310. this.produceCompanyId = produceCompanyId;
  311. }
  312. public Integer getRunTimes() {
  313. return runTimes;
  314. }
  315. public void setRunTimes(Integer runTimes) {
  316. this.runTimes = runTimes;
  317. }
  318. public Integer getIsMaintain() {
  319. return isMaintain;
  320. }
  321. public void setIsMaintain(Integer isMaintain) {
  322. this.isMaintain = isMaintain;
  323. }
  324. public String getMaintainCount() {
  325. return maintainCount;
  326. }
  327. public void setMaintainCount(String maintainCount) {
  328. this.maintainCount = maintainCount;
  329. }
  330. public String getHoles() {
  331. return holes;
  332. }
  333. public void setHoles(String holes) {
  334. this.holes = holes;
  335. }
  336. public Integer getPreUpdateId() {
  337. return preUpdateId;
  338. }
  339. public void setPreUpdateId(Integer preUpdateId) {
  340. this.preUpdateId = preUpdateId;
  341. }
  342. public Integer getHistoryRunTimes() {
  343. return historyRunTimes;
  344. }
  345. public void setHistoryRunTimes(Integer historyRunTimes) {
  346. this.historyRunTimes = historyRunTimes;
  347. }
  348. public LocalDateTime getLastRecTime() {
  349. return lastRecTime;
  350. }
  351. public void setLastRecTime(LocalDateTime lastRecTime) {
  352. this.lastRecTime = lastRecTime;
  353. }
  354. public String getFixedMaintainCount() {
  355. return fixedMaintainCount;
  356. }
  357. public void setFixedMaintainCount(String fixedMaintainCount) {
  358. this.fixedMaintainCount = fixedMaintainCount;
  359. }
  360. public Integer getMoveApplyState() {
  361. return moveApplyState;
  362. }
  363. public void setMoveApplyState(Integer moveApplyState) {
  364. this.moveApplyState = moveApplyState;
  365. }
  366. public String getMoveApplyReason() {
  367. return moveApplyReason;
  368. }
  369. public void setMoveApplyReason(String moveApplyReason) {
  370. this.moveApplyReason = moveApplyReason;
  371. }
  372. public String getMoveApplyTime() {
  373. return moveApplyTime;
  374. }
  375. public void setMoveApplyTime(String moveApplyTime) {
  376. this.moveApplyTime = moveApplyTime;
  377. }
  378. public String getMoveApplyAddress() {
  379. return moveApplyAddress;
  380. }
  381. public void setMoveApplyAddress(String moveApplyAddress) {
  382. this.moveApplyAddress = moveApplyAddress;
  383. }
  384. @Override
  385. protected Serializable pkVal() {
  386. return this.id;
  387. }
  388. @Override
  389. public String toString() {
  390. return "Mould{" +
  391. "id=" + id +
  392. ", modelNo=" + modelNo +
  393. ", modelName=" + modelName +
  394. ", waterGap=" + waterGap +
  395. ", tonnage=" + tonnage +
  396. ", ocCycle=" + ocCycle +
  397. ", dailyOutput=" + dailyOutput +
  398. ", companyId=" + companyId +
  399. ", currentVersionId=" + currentVersionId +
  400. ", state=" + state +
  401. ", isDelete=" + isDelete +
  402. ", creatorId=" + creatorId +
  403. ", projectId=" + projectId +
  404. ", rfid=" + rfid +
  405. ", settingLife=" + settingLife +
  406. ", area=" + area +
  407. ", produceCompanyName=" + produceCompanyName +
  408. ", initialModulus=" + initialModulus +
  409. ", equipmentId=" + equipmentId +
  410. ", belongProjectGrade=" + belongProjectGrade +
  411. ", produceCompanyId=" + produceCompanyId +
  412. ", runTimes=" + runTimes +
  413. ", isMaintain=" + isMaintain +
  414. ", maintainCount=" + maintainCount +
  415. ", holes=" + holes +
  416. ", preUpdateId=" + preUpdateId +
  417. ", historyRunTimes=" + historyRunTimes +
  418. ", lastRecTime=" + lastRecTime +
  419. ", fixedMaintainCount=" + fixedMaintainCount +
  420. ", moveApplyState=" + moveApplyState +
  421. ", moveApplyReason=" + moveApplyReason +
  422. ", moveApplyTime=" + moveApplyTime +
  423. ", moveApplyAddress=" + moveApplyAddress +
  424. "}";
  425. }
  426. }