| | |
| | | /** |
| | | * 主键,如果自己的对象,不是oid作为主键的话,需要用id这个注解 |
| | | */ |
| | | @Column(nullable = false,length = 50) |
| | | @Column(nullable = false) |
| | | private String oid; |
| | | |
| | | /** |
| | | * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写; |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String id; |
| | | |
| | | /** |
| | | * 名称;也可以不设置属性映射,默认是字段名的小写 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String name; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Column(length = 250) |
| | | @Column() |
| | | private String description; |
| | | |
| | | /** |
| | | * 版本的主键 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String revisionOid; |
| | | |
| | | /** |
| | | * 对象的主键 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String nameOid; |
| | | |
| | | /** |
| | | * 业务类型的名称 |
| | | */ |
| | | @Column(length = 30) |
| | | private String btmname; |
| | | @Column() |
| | | private String btmName; |
| | | |
| | | /** |
| | | * 是否最后版本 |
| | |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @Column(length = 50,nullable = false) |
| | | @Column(nullable = false) |
| | | private String creator; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 最后修改人 |
| | | */ |
| | | @Column(length = 50,nullable = false) |
| | | @Column(nullable = false) |
| | | private String lastModifier; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 版本规则 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String revisionRule; |
| | | |
| | | |
| | |
| | | /** |
| | | * 版本值 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String revisionValue; |
| | | |
| | | |
| | | /** |
| | | * 版次规则 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String versionRule; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 版次值 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String versionValue; |
| | | |
| | | /** |
| | | * 生命周期的编号 |
| | | */ |
| | | @Transient() |
| | | private String lctid; |
| | | private String lctId; |
| | | |
| | | /** |
| | | * 生命周期值 |
| | | */ |
| | | @Column(length = 50) |
| | | @Column() |
| | | private String lcStatus; |
| | | |
| | | /** |
| | |
| | | this.nameOid = nameOid; |
| | | } |
| | | |
| | | public String getBtmname() { |
| | | return btmname; |
| | | public String getBtmName() { |
| | | return btmName; |
| | | } |
| | | |
| | | public void setBtmname(String btmname) { |
| | | this.btmname = btmname; |
| | | public void setBtmName(String btmName) { |
| | | this.btmName = btmName; |
| | | } |
| | | |
| | | |
| | | public String getLastR() { |
| | | return lastR; |
| | |
| | | this.creator = creator; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public String getLastModifier() { |
| | | return lastModifier; |
| | | } |
| | |
| | | this.revisionRule = revisionRule; |
| | | } |
| | | |
| | | public String getVersionRule() { |
| | | return versionRule; |
| | | } |
| | | |
| | | public void setVersionRule(String versionRule) { |
| | | this.versionRule = versionRule; |
| | | } |
| | | |
| | | public int getRevisionSeq() { |
| | | return revisionSeq; |
| | | } |
| | |
| | | |
| | | public void setRevisionValue(String revisionValue) { |
| | | this.revisionValue = revisionValue; |
| | | } |
| | | |
| | | public String getVersionRule() { |
| | | return versionRule; |
| | | } |
| | | |
| | | public void setVersionRule(String versionRule) { |
| | | this.versionRule = versionRule; |
| | | } |
| | | |
| | | public int getVersionSeq() { |
| | |
| | | this.versionValue = versionValue; |
| | | } |
| | | |
| | | public String getLctId() { |
| | | return lctId; |
| | | } |
| | | |
| | | public void setLctId(String lctId) { |
| | | this.lctId = lctId; |
| | | } |
| | | |
| | | public String getLcStatus() { |
| | | return lcStatus; |
| | | } |
| | | |
| | | public void setLcStatus(String lcStatus) { |
| | | this.lcStatus = lcStatus; |
| | | } |
| | | |
| | | public String getLcStatusText() { |
| | | return lcStatusText; |
| | | } |
| | | |
| | | public void setLcStatusText(String lcStatusText) { |
| | | this.lcStatusText = lcStatusText; |
| | | } |
| | | |
| | | public Date getTs() { |
| | |
| | | this.copyFromVersion = copyFromVersion; |
| | | } |
| | | |
| | | public String getLcStatusText() { |
| | | return lcStatusText; |
| | | } |
| | | |
| | | public void setLcStatusText(String lcStatusText) { |
| | | this.lcStatusText = lcStatusText; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getSecretGrade() { |
| | | return secretGrade; |
| | | } |
| | |
| | | this.secretGradeText = secretGradeText; |
| | | } |
| | | |
| | | public String getLctid() { |
| | | return lctid; |
| | | } |
| | | |
| | | public void setLctid(String lctid) { |
| | | this.lctid = lctid; |
| | | } |
| | | |
| | | |
| | | public Map<String, String> getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(Map<String, String> data) { |
| | | this.data = data; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "BaseModel{" + |
| | | "oid='" + oid + '\'' + |
| | | ", id='" + id + '\'' + |
| | | ", name='" + name + '\'' + |
| | | ", description='" + description + '\'' + |
| | | ", revisionOid='" + revisionOid + '\'' + |
| | | ", nameOid='" + nameOid + '\'' + |
| | | ", btmname='" + btmname + '\'' + |
| | | ", lastR='" + lastR + '\'' + |
| | | ", firstR='" + firstR + '\'' + |
| | | ", lastV='" + lastV + '\'' + |
| | | ", firstV='" + firstV + '\'' + |
| | | ", creator='" + creator + '\'' + |
| | | ", createTime=" + createTime + |
| | | ", lastModifier='" + lastModifier + '\'' + |
| | | ", lastModifyTime=" + lastModifyTime + |
| | | ", revisionRule='" + revisionRule + '\'' + |
| | | ", revisionSeq=" + revisionSeq + |
| | | ", revisionValue='" + revisionValue + '\'' + |
| | | ", versionRule='" + versionRule + '\'' + |
| | | ", versionSeq=" + versionSeq + |
| | | ", versionValue='" + versionValue + '\'' + |
| | | ", lctid='" + lctid + '\'' + |
| | | ", lcStatus='" + lcStatus + '\'' + |
| | | ", lcStatusText='" + lcStatusText + '\'' + |
| | | ", ts=" + ts + |
| | | ", owner='" + owner + '\'' + |
| | | ", checkInBy='" + checkInBy + '\'' + |
| | | ", checkInTime=" + checkInTime + |
| | | ", checkOutBy='" + checkOutBy + '\'' + |
| | | ", checkOutTime=" + checkOutTime + |
| | | ", copyFromVersion='" + copyFromVersion + '\'' + |
| | | ", secretGrade=" + secretGrade + |
| | | ", secretGradeText='" + secretGradeText + '\'' + |
| | | ", data=" + data + |
| | | '}'; |
| | | } |
| | | } |