dangsn
2024-12-03 d0ae279ff3b83358d1c07f4481a041c4ad335026
Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/model/BaseModel.java
@@ -22,44 +22,44 @@
   /**
    * 主键,如果自己的对象,不是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;
   
   /**
    * 是否最后版本
@@ -91,7 +91,7 @@
   /**
    * 创建人
    */
   @Column(length = 50,nullable = false)
   @Column(nullable = false)
   private String creator;
   
   /**
@@ -104,7 +104,7 @@
   /**
    * 最后修改人
    */
   @Column(length = 50,nullable = false)
   @Column(nullable = false)
   private String lastModifier;
   
   /**
@@ -116,7 +116,7 @@
   /**
    * 版本规则
    */
   @Column(length = 50)
   @Column()
   private String revisionRule;
@@ -129,14 +129,14 @@
   /**
    * 版本值
    */
   @Column(length = 50)
   @Column()
   private String revisionValue;
   /**
    * 版次规则
    */
   @Column(length = 50)
   @Column()
   private String versionRule;
   /**
@@ -148,19 +148,19 @@
   /**
    * 版次值
    */
   @Column(length = 50)
   @Column()
   private String versionValue;
   /**
    * 生命周期的编号
    */
   @Transient()
   private String lctid;
   private String lctId;
   /**
    * 生命周期值
    */
   @Column(length = 50)
   @Column()
   private String lcStatus;
   
   /**
@@ -277,14 +277,13 @@
      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;
@@ -326,6 +325,14 @@
      this.creator = creator;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public String getLastModifier() {
      return lastModifier;
   }
@@ -350,14 +357,6 @@
      this.revisionRule = revisionRule;
   }
   public String getVersionRule() {
      return versionRule;
   }
   public void setVersionRule(String versionRule) {
      this.versionRule = versionRule;
   }
   public int getRevisionSeq() {
      return revisionSeq;
   }
@@ -372,6 +371,14 @@
   public void setRevisionValue(String revisionValue) {
      this.revisionValue = revisionValue;
   }
   public String getVersionRule() {
      return versionRule;
   }
   public void setVersionRule(String versionRule) {
      this.versionRule = versionRule;
   }
   public int getVersionSeq() {
@@ -390,12 +397,28 @@
      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() {
@@ -454,22 +477,6 @@
      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;
   }
@@ -486,60 +493,11 @@
      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 +
            '}';
   }
}