EsCom.java 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. package com.miniframe.model.es;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import java.util.Date;
  5. import javax.persistence.*;
  6. @Table(name = "es_com")
  7. public class EsCom extends MiniserviceBaseModel implements Serializable {
  8. /**
  9. * 组件ID
  10. */
  11. @Id
  12. @Column(name = "com_id")
  13. private String comId;
  14. /**
  15. * 组件名称
  16. */
  17. private String name;
  18. /**
  19. * 父类
  20. */
  21. private Short ftype;
  22. /**
  23. * 图片fid
  24. */
  25. private String image;
  26. /**
  27. * 用户编码
  28. */
  29. private String uid;
  30. /**
  31. * 描述
  32. */
  33. private String remark;
  34. /**
  35. * 创建时间
  36. */
  37. @Column(name = "create_time")
  38. private Date createTime;
  39. /**
  40. * 更新时间
  41. */
  42. @Column(name = "update_time")
  43. private Date updateTime;
  44. /**
  45. * 是否启用
  46. */
  47. private Short flag;
  48. /**
  49. * 组件id编码 如 C N 等
  50. */
  51. @Column(name = "id_code")
  52. private String idCode;
  53. /**
  54. * 子类 rigid
  55. */
  56. private String type;
  57. /**
  58. * 组件编码 Pipe
  59. */
  60. private String code;
  61. /**
  62. * 连接点数
  63. */
  64. private Integer ptcom;
  65. /**
  66. * 连接点位置
  67. */
  68. private String ptsite;
  69. private static final long serialVersionUID = 1L;
  70. /**
  71. * 获取组件ID
  72. *
  73. * @return com_id - 组件ID
  74. */
  75. public String getComId() {
  76. return comId;
  77. }
  78. /**
  79. * 设置组件ID
  80. *
  81. * @param comId 组件ID
  82. */
  83. public void setComId(String comId) {
  84. this.comId = comId == null ? null : comId.trim();
  85. }
  86. /**
  87. * 获取组件名称
  88. *
  89. * @return name - 组件名称
  90. */
  91. public String getName() {
  92. return name;
  93. }
  94. /**
  95. * 设置组件名称
  96. *
  97. * @param name 组件名称
  98. */
  99. public void setName(String name) {
  100. this.name = name == null ? null : name.trim();
  101. }
  102. /**
  103. * 获取父类
  104. *
  105. * @return ftype - 父类
  106. */
  107. public Short getFtype() {
  108. return ftype;
  109. }
  110. /**
  111. * 设置父类
  112. *
  113. * @param ftype 父类
  114. */
  115. public void setFtype(Short ftype) {
  116. this.ftype = ftype;
  117. }
  118. /**
  119. * 获取图片fid
  120. *
  121. * @return image - 图片fid
  122. */
  123. public String getImage() {
  124. return image;
  125. }
  126. /**
  127. * 设置图片fid
  128. *
  129. * @param image 图片fid
  130. */
  131. public void setImage(String image) {
  132. this.image = image == null ? null : image.trim();
  133. }
  134. /**
  135. * 获取用户编码
  136. *
  137. * @return uid - 用户编码
  138. */
  139. public String getUid() {
  140. return uid;
  141. }
  142. /**
  143. * 设置用户编码
  144. *
  145. * @param uid 用户编码
  146. */
  147. public void setUid(String uid) {
  148. this.uid = uid == null ? null : uid.trim();
  149. }
  150. /**
  151. * 获取描述
  152. *
  153. * @return remark - 描述
  154. */
  155. public String getRemark() {
  156. return remark;
  157. }
  158. /**
  159. * 设置描述
  160. *
  161. * @param remark 描述
  162. */
  163. public void setRemark(String remark) {
  164. this.remark = remark == null ? null : remark.trim();
  165. }
  166. /**
  167. * 获取创建时间
  168. *
  169. * @return create_time - 创建时间
  170. */
  171. public Date getCreateTime() {
  172. return createTime;
  173. }
  174. /**
  175. * 设置创建时间
  176. *
  177. * @param createTime 创建时间
  178. */
  179. public void setCreateTime(Date createTime) {
  180. this.createTime = createTime;
  181. }
  182. /**
  183. * 获取更新时间
  184. *
  185. * @return update_time - 更新时间
  186. */
  187. public Date getUpdateTime() {
  188. return updateTime;
  189. }
  190. /**
  191. * 设置更新时间
  192. *
  193. * @param updateTime 更新时间
  194. */
  195. public void setUpdateTime(Date updateTime) {
  196. this.updateTime = updateTime;
  197. }
  198. /**
  199. * 获取是否启用
  200. *
  201. * @return flag - 是否启用
  202. */
  203. public Short getFlag() {
  204. return flag;
  205. }
  206. /**
  207. * 设置是否启用
  208. *
  209. * @param flag 是否启用
  210. */
  211. public void setFlag(Short flag) {
  212. this.flag = flag;
  213. }
  214. /**
  215. * 获取组件id编码 如 C N 等
  216. *
  217. * @return id_code - 组件id编码 如 C N 等
  218. */
  219. public String getIdCode() {
  220. return idCode;
  221. }
  222. /**
  223. * 设置组件id编码 如 C N 等
  224. *
  225. * @param idCode 组件id编码 如 C N 等
  226. */
  227. public void setIdCode(String idCode) {
  228. this.idCode = idCode == null ? null : idCode.trim();
  229. }
  230. /**
  231. * 获取子类 rigid
  232. *
  233. * @return type - 子类 rigid
  234. */
  235. public String getType() {
  236. return type;
  237. }
  238. /**
  239. * 设置子类 rigid
  240. *
  241. * @param type 子类 rigid
  242. */
  243. public void setType(String type) {
  244. this.type = type == null ? null : type.trim();
  245. }
  246. /**
  247. * 获取组件编码 Pipe
  248. *
  249. * @return code - 组件编码 Pipe
  250. */
  251. public String getCode() {
  252. return code;
  253. }
  254. /**
  255. * 设置组件编码 Pipe
  256. *
  257. * @param code 组件编码 Pipe
  258. */
  259. public void setCode(String code) {
  260. this.code = code == null ? null : code.trim();
  261. }
  262. /**
  263. * 获取连接点数
  264. *
  265. * @return ptcom - 连接点数
  266. */
  267. public Integer getPtcom() {
  268. return ptcom;
  269. }
  270. /**
  271. * 设置连接点数
  272. *
  273. * @param ptcom 连接点数
  274. */
  275. public void setPtcom(Integer ptcom) {
  276. this.ptcom = ptcom;
  277. }
  278. /**
  279. * 获取连接点位置
  280. *
  281. * @return ptsite - 连接点位置
  282. */
  283. public String getPtsite() {
  284. return ptsite;
  285. }
  286. /**
  287. * 设置连接点位置
  288. *
  289. * @param ptsite 连接点位置
  290. */
  291. public void setPtsite(String ptsite) {
  292. this.ptsite = ptsite == null ? null : ptsite.trim();
  293. }
  294. }