123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348 |
- package com.miniframe.model.es;
- import com.miniframe.system.MiniserviceBaseModel;
- import java.io.Serializable;
- import java.util.Date;
- import javax.persistence.*;
- @Table(name = "es_com")
- public class EsCom extends MiniserviceBaseModel implements Serializable {
- /**
- * 组件ID
- */
- @Id
- @Column(name = "com_id")
- private String comId;
- /**
- * 组件名称
- */
- private String name;
- /**
- * 父类
- */
- private Short ftype;
- /**
- * 图片fid
- */
- private String image;
- /**
- * 用户编码
- */
- private String uid;
- /**
- * 描述
- */
- private String remark;
- /**
- * 创建时间
- */
- @Column(name = "create_time")
- private Date createTime;
- /**
- * 更新时间
- */
- @Column(name = "update_time")
- private Date updateTime;
- /**
- * 是否启用
- */
- private Short flag;
- /**
- * 组件id编码 如 C N 等
- */
- @Column(name = "id_code")
- private String idCode;
- /**
- * 子类 rigid
- */
- private String type;
- /**
- * 组件编码 Pipe
- */
- private String code;
- /**
- * 连接点数
- */
- private Integer ptcom;
- /**
- * 连接点位置
- */
- private String ptsite;
- private static final long serialVersionUID = 1L;
- /**
- * 获取组件ID
- *
- * @return com_id - 组件ID
- */
- public String getComId() {
- return comId;
- }
- /**
- * 设置组件ID
- *
- * @param comId 组件ID
- */
- public void setComId(String comId) {
- this.comId = comId == null ? null : comId.trim();
- }
- /**
- * 获取组件名称
- *
- * @return name - 组件名称
- */
- public String getName() {
- return name;
- }
- /**
- * 设置组件名称
- *
- * @param name 组件名称
- */
- public void setName(String name) {
- this.name = name == null ? null : name.trim();
- }
- /**
- * 获取父类
- *
- * @return ftype - 父类
- */
- public Short getFtype() {
- return ftype;
- }
- /**
- * 设置父类
- *
- * @param ftype 父类
- */
- public void setFtype(Short ftype) {
- this.ftype = ftype;
- }
- /**
- * 获取图片fid
- *
- * @return image - 图片fid
- */
- public String getImage() {
- return image;
- }
- /**
- * 设置图片fid
- *
- * @param image 图片fid
- */
- public void setImage(String image) {
- this.image = image == null ? null : image.trim();
- }
- /**
- * 获取用户编码
- *
- * @return uid - 用户编码
- */
- public String getUid() {
- return uid;
- }
- /**
- * 设置用户编码
- *
- * @param uid 用户编码
- */
- public void setUid(String uid) {
- this.uid = uid == null ? null : uid.trim();
- }
- /**
- * 获取描述
- *
- * @return remark - 描述
- */
- public String getRemark() {
- return remark;
- }
- /**
- * 设置描述
- *
- * @param remark 描述
- */
- public void setRemark(String remark) {
- this.remark = remark == null ? null : remark.trim();
- }
- /**
- * 获取创建时间
- *
- * @return create_time - 创建时间
- */
- public Date getCreateTime() {
- return createTime;
- }
- /**
- * 设置创建时间
- *
- * @param createTime 创建时间
- */
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- /**
- * 获取更新时间
- *
- * @return update_time - 更新时间
- */
- public Date getUpdateTime() {
- return updateTime;
- }
- /**
- * 设置更新时间
- *
- * @param updateTime 更新时间
- */
- public void setUpdateTime(Date updateTime) {
- this.updateTime = updateTime;
- }
- /**
- * 获取是否启用
- *
- * @return flag - 是否启用
- */
- public Short getFlag() {
- return flag;
- }
- /**
- * 设置是否启用
- *
- * @param flag 是否启用
- */
- public void setFlag(Short flag) {
- this.flag = flag;
- }
- /**
- * 获取组件id编码 如 C N 等
- *
- * @return id_code - 组件id编码 如 C N 等
- */
- public String getIdCode() {
- return idCode;
- }
- /**
- * 设置组件id编码 如 C N 等
- *
- * @param idCode 组件id编码 如 C N 等
- */
- public void setIdCode(String idCode) {
- this.idCode = idCode == null ? null : idCode.trim();
- }
- /**
- * 获取子类 rigid
- *
- * @return type - 子类 rigid
- */
- public String getType() {
- return type;
- }
- /**
- * 设置子类 rigid
- *
- * @param type 子类 rigid
- */
- public void setType(String type) {
- this.type = type == null ? null : type.trim();
- }
- /**
- * 获取组件编码 Pipe
- *
- * @return code - 组件编码 Pipe
- */
- public String getCode() {
- return code;
- }
- /**
- * 设置组件编码 Pipe
- *
- * @param code 组件编码 Pipe
- */
- public void setCode(String code) {
- this.code = code == null ? null : code.trim();
- }
- /**
- * 获取连接点数
- *
- * @return ptcom - 连接点数
- */
- public Integer getPtcom() {
- return ptcom;
- }
- /**
- * 设置连接点数
- *
- * @param ptcom 连接点数
- */
- public void setPtcom(Integer ptcom) {
- this.ptcom = ptcom;
- }
- /**
- * 获取连接点位置
- *
- * @return ptsite - 连接点位置
- */
- public String getPtsite() {
- return ptsite;
- }
- /**
- * 设置连接点位置
- *
- * @param ptsite 连接点位置
- */
- public void setPtsite(String ptsite) {
- this.ptsite = ptsite == null ? null : ptsite.trim();
- }
- }
|