MouldOperationDynamics.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. package com.hssx.cloudmodel.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.extension.activerecord.Model;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import java.time.LocalDateTime;
  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-21
  16. */
  17. @TableName("tb_mould_operation_dynamics")
  18. public class MouldOperationDynamics extends Model<MouldOperationDynamics> {
  19. private static final long serialVersionUID=1L;
  20. /**
  21. * 模具文档操作记录表主键
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Integer id;
  25. /**
  26. * 文件id
  27. */
  28. @TableField("file_id")
  29. private Integer fileId;
  30. /**
  31. * 操作者id
  32. */
  33. @TableField("operator_id")
  34. private Integer operatorId;
  35. /**
  36. * 操作者姓名
  37. */
  38. @TableField("operator_name")
  39. private String operatorName;
  40. /**
  41. * 操作的时间
  42. */
  43. @TableField("indate")
  44. private LocalDateTime indate;
  45. /**
  46. * 文件名
  47. */
  48. @TableField("file_name")
  49. private String fileName;
  50. /**
  51. * 所述文件类型,0-模具文档 1-零件文档 2-试模验收 3-保养方案 4-模具更新 5-模具报废
  52. */
  53. @TableField("belong_type")
  54. private Integer belongType;
  55. /**
  56. * 内容
  57. */
  58. @TableField("content")
  59. private String content;
  60. /**
  61. * 模具id
  62. */
  63. @TableField("mould_id")
  64. private Integer mouldId;
  65. /**
  66. * 是否通过 0-不通过 1-通过
  67. */
  68. @TableField("is_pass")
  69. private Integer isPass;
  70. /**
  71. * 申请人id
  72. */
  73. @TableField("applicant_id")
  74. private Integer applicantId;
  75. /**
  76. * 申请人姓名
  77. */
  78. @TableField("applicant_name")
  79. private String applicantName;
  80. public Integer getId() {
  81. return id;
  82. }
  83. public void setId(Integer id) {
  84. this.id = id;
  85. }
  86. public Integer getFileId() {
  87. return fileId;
  88. }
  89. public void setFileId(Integer fileId) {
  90. this.fileId = fileId;
  91. }
  92. public Integer getOperatorId() {
  93. return operatorId;
  94. }
  95. public void setOperatorId(Integer operatorId) {
  96. this.operatorId = operatorId;
  97. }
  98. public String getOperatorName() {
  99. return operatorName;
  100. }
  101. public void setOperatorName(String operatorName) {
  102. this.operatorName = operatorName;
  103. }
  104. public LocalDateTime getIndate() {
  105. return indate;
  106. }
  107. public void setIndate(LocalDateTime indate) {
  108. this.indate = indate;
  109. }
  110. public String getFileName() {
  111. return fileName;
  112. }
  113. public void setFileName(String fileName) {
  114. this.fileName = fileName;
  115. }
  116. public Integer getBelongType() {
  117. return belongType;
  118. }
  119. public void setBelongType(Integer belongType) {
  120. this.belongType = belongType;
  121. }
  122. public String getContent() {
  123. return content;
  124. }
  125. public void setContent(String content) {
  126. this.content = content;
  127. }
  128. public Integer getMouldId() {
  129. return mouldId;
  130. }
  131. public void setMouldId(Integer mouldId) {
  132. this.mouldId = mouldId;
  133. }
  134. public Integer getIsPass() {
  135. return isPass;
  136. }
  137. public void setIsPass(Integer isPass) {
  138. this.isPass = isPass;
  139. }
  140. public Integer getApplicantId() {
  141. return applicantId;
  142. }
  143. public void setApplicantId(Integer applicantId) {
  144. this.applicantId = applicantId;
  145. }
  146. public String getApplicantName() {
  147. return applicantName;
  148. }
  149. public void setApplicantName(String applicantName) {
  150. this.applicantName = applicantName;
  151. }
  152. @Override
  153. protected Serializable pkVal() {
  154. return this.id;
  155. }
  156. @Override
  157. public String toString() {
  158. return "MouldOperationDynamics{" +
  159. "id=" + id +
  160. ", fileId=" + fileId +
  161. ", operatorId=" + operatorId +
  162. ", operatorName=" + operatorName +
  163. ", indate=" + indate +
  164. ", fileName=" + fileName +
  165. ", belongType=" + belongType +
  166. ", content=" + content +
  167. ", mouldId=" + mouldId +
  168. ", isPass=" + isPass +
  169. ", applicantId=" + applicantId +
  170. ", applicantName=" + applicantName +
  171. "}";
  172. }
  173. }