Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/revision/model/BaseModel.java
@@ -1,5 +1,6 @@
package com.vci.ubcs.starter.revision.model;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
@@ -13,21 +14,27 @@
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
public class BaseModel implements Serializable {
   @JsonSerialize(
      using = ToStringSerializer.class
   )
   @ApiModelProperty("主键id")
   @TableId(value = "OID",type = IdType.ASSIGN_UUID)
   @TableId(value = "OID",type = IdType.ASSIGN_ID)
   private String oid;
   @TableField(value = "ID")
   @TableField(value = "id")
   private String id;
   private String name;
   //集团码
   private String groupcode;
   /**
    * 租户ID
    * @TableField(value = "tenant_id")这里必须要写,并且必须是要小写的
    */
   @TableField(value = "tenant_id")
   private String tenantId;
   private String description;
@@ -46,6 +53,7 @@
   private String firstV;
   private String creator;
   @DateTimeFormat(
      pattern = "yyyy-MM-dd HH:mm:ss"
   )
@@ -55,6 +63,7 @@
   private Date createTime;
   private String lastModifier;
   @DateTimeFormat(
      pattern = "yyyy-MM-dd HH:mm:ss"
   )
@@ -88,24 +97,24 @@
   )
   private Date ts;
   /**
    * 所有者
    */
   private String owner;
   private String copyFromVersion;
   //   @VciUseEnum(
//      value = "Enumsecretgrade",
//      showTextField = "secretGradeText"
//   )
   /**
    * 需要使用密级的时候,需要继承这个属性
    */
   @TableField(exist = false)
   private Integer secretGrade;
   @Transient
   @TableField(exist = false)
   private String secretGradeText;
   @Transient
   @TableField(exist = false)
   private Map<String, String> data;
   private Map<String, String> data = new HashMap<>();
   public BaseModel() {
   }
@@ -342,12 +351,12 @@
      this.lctid = lctid;
   }
   public String getGroupcode() {
      return this.groupcode;
   public String getTenantId() {
      return tenantId;
   }
   public void setGroupcode(String groupcode) {
      this.groupcode = groupcode;
   public void setTenantId(String tenantId) {
      this.tenantId = tenantId;
   }
   public Map<String, String> getData() {
@@ -360,7 +369,7 @@
   @Override
   public String toString() {
      return "BaseModel{oid='" + this.oid + '\'' + ", id='" + this.id + '\'' + ", name='" + this.name + '\'' + ", description='" + this.description + '\'' + ", revisionOid='" + this.revisionOid + '\'' + ", nameOid='" + this.nameOid + '\'' + ", btmname='" + this.btmname + '\'' + ", lastR='" + this.lastR + '\'' + ", firstR='" + this.firstR + '\'' + ", lastV='" + this.lastV + '\'' + ", firstV='" + this.firstV + '\'' + ", creator='" + this.creator + '\'' + ", createTime=" + this.createTime + ", lastModifier='" + this.lastModifier + '\'' + ", lastModifyTime=" + this.lastModifyTime + ", revisionRule='" + this.revisionRule + '\'' + ", revisionSeq=" + this.revisionSeq + ", revisionValue='" + this.revisionValue + '\'' + ", versionRule='" + this.versionRule + '\'' + ", versionSeq=" + this.versionSeq + ", versionValue='" + this.versionValue + '\'' + ", lctid='" + this.lctid + '\'' + ", lcStatus='" + this.lcStatus + '\'' + ", lcStatusText='" + this.lcStatusText + '\'' + ", ts=" + this.ts + ", owner='" + this.owner + '\''  + ", copyFromVersion='" + this.copyFromVersion + '\'' + ", secretGrade=" + this.secretGrade + ", secretGradeText='" + this.secretGradeText + '\'' + ", data=" + this.data + '}';
      return "BaseModel{oid='" + this.oid + '\'' + ", id='" + this.id + '\'' + ", name='" + this.name + '\'' + ", description='" + this.description + '\'' + ", revisionOid='" + this.revisionOid + '\'' + ", nameOid='" + this.nameOid + '\'' + ", btmname='" + this.btmname + '\'' + ", lastR='" + this.lastR + '\'' + ", firstR='" + this.firstR + '\'' + ", lastV='" + this.lastV + '\'' + ", firstV='" + this.firstV + '\'' + ", creator='" + this.creator + '\'' + ", createTime=" + this.createTime + ", lastModifier='" + this.lastModifier + '\'' + ", lastModifyTime=" + this.lastModifyTime + ", revisionRule='" + this.revisionRule + '\'' + ", revisionSeq=" + this.revisionSeq + ", revisionValue='" + this.revisionValue + '\'' + ", versionRule='" + this.versionRule + '\'' + ", versionSeq=" + this.versionSeq + ", versionValue='" + this.versionValue + '\'' + ", lctid='" + this.lctid + '\'' + ", lcStatus='" + this.lcStatus + '\'' + ", lcStatusText='" + this.lcStatusText + '\'' + ", ts=" + this.ts + ", owner='" + this.owner + '\''  + ", copyFromVersion='" + this.copyFromVersion + '\'' + ", secretGrade=" + this.secretGrade + ", secretGradeText='" + this.secretGradeText + '\'' + ", data=" + this.data + '}' + '\'' + ", tenantId=" + this.tenantId + '}';
   }
}