MdoMod.java 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. package com.miniframe.model.mdo;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import java.util.Date;
  5. import javax.persistence.*;
  6. @Table(name = "mdo_mod")
  7. public class MdoMod extends MiniserviceBaseModel implements Serializable {
  8. /**
  9. * 模版ID
  10. */
  11. @Id
  12. private String id;
  13. /**
  14. * 用户编码
  15. */
  16. private String uid;
  17. /**
  18. * 名称
  19. */
  20. private String name;
  21. /**
  22. * 描述
  23. */
  24. private String remark;
  25. /**
  26. * 图片base64
  27. */
  28. private String image;
  29. /**
  30. * 创建时间
  31. */
  32. @Column(name = "create_time")
  33. private Date createTime;
  34. /**
  35. * 更新时间
  36. */
  37. @Column(name = "update_time")
  38. private Date updateTime;
  39. private Short isshare;
  40. /**
  41. * 流程JSON
  42. */
  43. private String flow;
  44. /**
  45. * 1-函数优化模版 2-翼型优化模版 3-机翼优化模版
  46. */
  47. private Integer type;
  48. /**
  49. * 图片base64
  50. */
  51. private String image2;
  52. /**
  53. * 求解器类型
  54. */
  55. private String stype;
  56. private static final long serialVersionUID = 1L;
  57. /**
  58. * 获取模版ID
  59. *
  60. * @return id - 模版ID
  61. */
  62. public String getId() {
  63. return id;
  64. }
  65. /**
  66. * 设置模版ID
  67. *
  68. * @param id 模版ID
  69. */
  70. public void setId(String id) {
  71. this.id = id == null ? null : id.trim();
  72. }
  73. /**
  74. * 获取用户编码
  75. *
  76. * @return uid - 用户编码
  77. */
  78. public String getUid() {
  79. return uid;
  80. }
  81. /**
  82. * 设置用户编码
  83. *
  84. * @param uid 用户编码
  85. */
  86. public void setUid(String uid) {
  87. this.uid = uid == null ? null : uid.trim();
  88. }
  89. /**
  90. * 获取名称
  91. *
  92. * @return name - 名称
  93. */
  94. public String getName() {
  95. return name;
  96. }
  97. /**
  98. * 设置名称
  99. *
  100. * @param name 名称
  101. */
  102. public void setName(String name) {
  103. this.name = name == null ? null : name.trim();
  104. }
  105. /**
  106. * 获取描述
  107. *
  108. * @return remark - 描述
  109. */
  110. public String getRemark() {
  111. return remark;
  112. }
  113. /**
  114. * 设置描述
  115. *
  116. * @param remark 描述
  117. */
  118. public void setRemark(String remark) {
  119. this.remark = remark == null ? null : remark.trim();
  120. }
  121. /**
  122. * 获取图片base64
  123. *
  124. * @return image - 图片base64
  125. */
  126. public String getImage() {
  127. return image;
  128. }
  129. /**
  130. * 设置图片base64
  131. *
  132. * @param image 图片base64
  133. */
  134. public void setImage(String image) {
  135. this.image = image == null ? null : image.trim();
  136. }
  137. /**
  138. * 获取创建时间
  139. *
  140. * @return create_time - 创建时间
  141. */
  142. public Date getCreateTime() {
  143. return createTime;
  144. }
  145. /**
  146. * 设置创建时间
  147. *
  148. * @param createTime 创建时间
  149. */
  150. public void setCreateTime(Date createTime) {
  151. this.createTime = createTime;
  152. }
  153. /**
  154. * 获取更新时间
  155. *
  156. * @return update_time - 更新时间
  157. */
  158. public Date getUpdateTime() {
  159. return updateTime;
  160. }
  161. /**
  162. * 设置更新时间
  163. *
  164. * @param updateTime 更新时间
  165. */
  166. public void setUpdateTime(Date updateTime) {
  167. this.updateTime = updateTime;
  168. }
  169. /**
  170. * @return isshare
  171. */
  172. public Short getIsshare() {
  173. return isshare;
  174. }
  175. /**
  176. * @param isshare
  177. */
  178. public void setIsshare(Short isshare) {
  179. this.isshare = isshare;
  180. }
  181. /**
  182. * 获取流程JSON
  183. *
  184. * @return flow - 流程JSON
  185. */
  186. public String getFlow() {
  187. return flow;
  188. }
  189. /**
  190. * 设置流程JSON
  191. *
  192. * @param flow 流程JSON
  193. */
  194. public void setFlow(String flow) {
  195. this.flow = flow == null ? null : flow.trim();
  196. }
  197. /**
  198. * 获取1-函数优化模版 2-翼型优化模版 3-机翼优化模版
  199. *
  200. * @return type - 1-函数优化模版 2-翼型优化模版 3-机翼优化模版
  201. */
  202. public Integer getType() {
  203. return type;
  204. }
  205. /**
  206. * 设置1-函数优化模版 2-翼型优化模版 3-机翼优化模版
  207. *
  208. * @param type 1-函数优化模版 2-翼型优化模版 3-机翼优化模版
  209. */
  210. public void setType(Integer type) {
  211. this.type = type;
  212. }
  213. /**
  214. * 获取图片base64
  215. *
  216. * @return image2 - 图片base64
  217. */
  218. public String getImage2() {
  219. return image2;
  220. }
  221. /**
  222. * 设置图片base64
  223. *
  224. * @param image2 图片base64
  225. */
  226. public void setImage2(String image2) {
  227. this.image2 = image2 == null ? null : image2.trim();
  228. }
  229. /**
  230. * 获取求解器类型
  231. *
  232. * @return stype - 求解器类型
  233. */
  234. public String getStype() {
  235. return stype;
  236. }
  237. /**
  238. * 设置求解器类型
  239. *
  240. * @param stype 求解器类型
  241. */
  242. public void setStype(String stype) {
  243. this.stype = stype == null ? null : stype.trim();
  244. }
  245. }