Mould.java 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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 com.baomidou.mybatisplus.annotation.TableField;
  8. import java.io.Serializable;
  9. /**
  10. * <p>
  11. *
  12. * </p>
  13. *
  14. * @author 吴涛涛
  15. * @since 2019-08-05
  16. */
  17. @TableName("tb_mould")
  18. public class Mould extends Model<Mould> {
  19. private static final long serialVersionUID=1L;
  20. /**
  21. * 主键
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Integer id;
  25. /**
  26. * 模具编号
  27. */
  28. @TableField("model_no")
  29. private String modelNo;
  30. /**
  31. * 模具名称
  32. */
  33. @TableField("model_name")
  34. private String modelName;
  35. /**
  36. * 水隙
  37. */
  38. @TableField("water_gap")
  39. private BigDecimal waterGap;
  40. /**
  41. * 吨位
  42. */
  43. @TableField("tonnage")
  44. private BigDecimal tonnage;
  45. /**
  46. * 每模平均周期
  47. */
  48. @TableField("oc_cycle")
  49. private BigDecimal ocCycle;
  50. /**
  51. * 日输出量
  52. */
  53. @TableField("daily_output")
  54. private BigDecimal dailyOutput;
  55. /**
  56. * 所属资产方公司id
  57. */
  58. @TableField("company_id")
  59. private Integer companyId;
  60. /**
  61. * 当前版本id
  62. */
  63. @TableField("current_version_id")
  64. private Integer currentVersionId;
  65. /**
  66. * 状态0-静止 1-运动
  67. */
  68. @TableField("state")
  69. private String state;
  70. /**
  71. * 是否删除
  72. */
  73. @TableField("is_delete")
  74. private Integer isDelete;
  75. /**
  76. * 创建者id
  77. */
  78. @TableField("creator_id")
  79. private Integer creatorId;
  80. /**
  81. * 项目id
  82. */
  83. @TableField("project_id")
  84. private Integer projectId;
  85. /**
  86. * 模具对应的射频识别
  87. */
  88. @TableField("rfid")
  89. private String rfid;
  90. /**
  91. * 使用寿命
  92. */
  93. @TableField("setting_life")
  94. private Integer settingLife;
  95. /**
  96. * 工厂位置
  97. */
  98. @TableField("area")
  99. private String area;
  100. /**
  101. * 工厂id
  102. */
  103. @TableField("factory_id")
  104. private Integer factoryId;
  105. /**
  106. * 工厂名称
  107. */
  108. @TableField("factory_name")
  109. private String factoryName;
  110. /**
  111. * 初始模次(保养设定次数)
  112. */
  113. @TableField("initial_modulus")
  114. private Integer initialModulus;
  115. /**
  116. * 对应设备id
  117. */
  118. @TableField("equipment_id")
  119. private Integer equipmentId;
  120. /**
  121. * 在项目中所属的部分如:1/10
  122. */
  123. @TableField("belong_project_grade")
  124. private String belongProjectGrade;
  125. /**
  126. * 生产方公司id
  127. */
  128. @TableField("produce_company_id")
  129. private Integer produceCompanyId;
  130. /**
  131. * 运行次数
  132. */
  133. @TableField("run_times")
  134. private Integer runTimes;
  135. /**
  136. * 保养提醒 0-提醒,1-不提醒
  137. */
  138. @TableField("is_maintain")
  139. private Integer isMaintain;
  140. public Integer getId() {
  141. return id;
  142. }
  143. public void setId(Integer id) {
  144. this.id = id;
  145. }
  146. public String getModelNo() {
  147. return modelNo;
  148. }
  149. public void setModelNo(String modelNo) {
  150. this.modelNo = modelNo;
  151. }
  152. public String getModelName() {
  153. return modelName;
  154. }
  155. public void setModelName(String modelName) {
  156. this.modelName = modelName;
  157. }
  158. public BigDecimal getWaterGap() {
  159. return waterGap;
  160. }
  161. public void setWaterGap(BigDecimal waterGap) {
  162. this.waterGap = waterGap;
  163. }
  164. public BigDecimal getTonnage() {
  165. return tonnage;
  166. }
  167. public void setTonnage(BigDecimal tonnage) {
  168. this.tonnage = tonnage;
  169. }
  170. public BigDecimal getOcCycle() {
  171. return ocCycle;
  172. }
  173. public void setOcCycle(BigDecimal ocCycle) {
  174. this.ocCycle = ocCycle;
  175. }
  176. public BigDecimal getDailyOutput() {
  177. return dailyOutput;
  178. }
  179. public void setDailyOutput(BigDecimal dailyOutput) {
  180. this.dailyOutput = dailyOutput;
  181. }
  182. public Integer getCompanyId() {
  183. return companyId;
  184. }
  185. public void setCompanyId(Integer companyId) {
  186. this.companyId = companyId;
  187. }
  188. public Integer getCurrentVersionId() {
  189. return currentVersionId;
  190. }
  191. public void setCurrentVersionId(Integer currentVersionId) {
  192. this.currentVersionId = currentVersionId;
  193. }
  194. public String getState() {
  195. return state;
  196. }
  197. public void setState(String state) {
  198. this.state = state;
  199. }
  200. public Integer getIsDelete() {
  201. return isDelete;
  202. }
  203. public void setIsDelete(Integer isDelete) {
  204. this.isDelete = isDelete;
  205. }
  206. public Integer getCreatorId() {
  207. return creatorId;
  208. }
  209. public void setCreatorId(Integer creatorId) {
  210. this.creatorId = creatorId;
  211. }
  212. public Integer getProjectId() {
  213. return projectId;
  214. }
  215. public void setProjectId(Integer projectId) {
  216. this.projectId = projectId;
  217. }
  218. public String getRfid() {
  219. return rfid;
  220. }
  221. public void setRfid(String rfid) {
  222. this.rfid = rfid;
  223. }
  224. public Integer getSettingLife() {
  225. return settingLife;
  226. }
  227. public void setSettingLife(Integer settingLife) {
  228. this.settingLife = settingLife;
  229. }
  230. public String getArea() {
  231. return area;
  232. }
  233. public void setArea(String area) {
  234. this.area = area;
  235. }
  236. public Integer getFactoryId() {
  237. return factoryId;
  238. }
  239. public void setFactoryId(Integer factoryId) {
  240. this.factoryId = factoryId;
  241. }
  242. public String getFactoryName() {
  243. return factoryName;
  244. }
  245. public void setFactoryName(String factoryName) {
  246. this.factoryName = factoryName;
  247. }
  248. public Integer getInitialModulus() {
  249. return initialModulus;
  250. }
  251. public void setInitialModulus(Integer initialModulus) {
  252. this.initialModulus = initialModulus;
  253. }
  254. public Integer getEquipmentId() {
  255. return equipmentId;
  256. }
  257. public void setEquipmentId(Integer equipmentId) {
  258. this.equipmentId = equipmentId;
  259. }
  260. public String getBelongProjectGrade() {
  261. return belongProjectGrade;
  262. }
  263. public void setBelongProjectGrade(String belongProjectGrade) {
  264. this.belongProjectGrade = belongProjectGrade;
  265. }
  266. public Integer getProduceCompanyId() {
  267. return produceCompanyId;
  268. }
  269. public void setProduceCompanyId(Integer produceCompanyId) {
  270. this.produceCompanyId = produceCompanyId;
  271. }
  272. public Integer getRunTimes() {
  273. return runTimes;
  274. }
  275. public void setRunTimes(Integer runTimes) {
  276. this.runTimes = runTimes;
  277. }
  278. public Integer getIsMaintain() {
  279. return isMaintain;
  280. }
  281. public void setIsMaintain(Integer isMaintain) {
  282. this.isMaintain = isMaintain;
  283. }
  284. @Override
  285. protected Serializable pkVal() {
  286. return this.id;
  287. }
  288. @Override
  289. public String toString() {
  290. return "Mould{" +
  291. "id=" + id +
  292. ", modelNo=" + modelNo +
  293. ", modelName=" + modelName +
  294. ", waterGap=" + waterGap +
  295. ", tonnage=" + tonnage +
  296. ", ocCycle=" + ocCycle +
  297. ", dailyOutput=" + dailyOutput +
  298. ", companyId=" + companyId +
  299. ", currentVersionId=" + currentVersionId +
  300. ", state=" + state +
  301. ", isDelete=" + isDelete +
  302. ", creatorId=" + creatorId +
  303. ", projectId=" + projectId +
  304. ", rfid=" + rfid +
  305. ", settingLife=" + settingLife +
  306. ", area=" + area +
  307. ", factoryId=" + factoryId +
  308. ", factoryName=" + factoryName +
  309. ", initialModulus=" + initialModulus +
  310. ", equipmentId=" + equipmentId +
  311. ", belongProjectGrade=" + belongProjectGrade +
  312. ", produceCompanyId=" + produceCompanyId +
  313. ", runTimes=" + runTimes +
  314. "}";
  315. }
  316. }