dangsn
2024-12-25 2f8555410f031e66ee91ee60f64d1cc9a34cc7d9
Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/pagemodel/BaseModelVO.java
@@ -1,7 +1,5 @@
package com.vci.starter.web.pagemodel;
import com.vci.starter.web.annotation.Transient;
import java.util.Date;
import java.util.Map;
@@ -10,100 +8,73 @@
 * @author weidy
 */
public class BaseModelVO implements java.io.Serializable{
   /**
    * 主键
    * 主键,如果自己的对象,不是oid作为主键的话,需要用id这个注解
    */
   private String oid;
   /**
    * 代号
    */
   private String id;
   /**
    * 名称
    */
   private String name;
   /**
    * 描述
    */
   private String description;
   /**
    * 版本的主键
    */
   private String revisionOid;
   /**
    * 名称的主键
    * 对象的主键
    */
   private String nameOid;
   /**
    * 业务类型的名称
    */
   private String btmname;
   private String btmName;
   /**
    * 是否最后版次
    * 是否最后版本。1:是,0:否
    */
   private String lastR;
   /**
    * 是否最初版次
    * 是否最初版本。1:是,0:否
    */
   private String firstR;
   /**
    * 是否最新版本
    * 是否最新版次。1:是,0:否
    */
   private String lastV;
   /**
    * 是否最早版本
    * 是否最早版次。1:是,0:否
    */
   private String firstV;
   /**
    * 创建人
    */
   private String creator;
   /**
    * 创建时间
    */
   private Date createTime;
   /**
    * 最后修改人
    */
   private String lastModifier;
   /**
    * 最后修改时间,格式是yyyy-MM-dd HH:mm:ss.SSS
    */
   private Date lastModifyTime;
   /**
    * 版本规则
    */
   private String revisionRule;
   /**
    * 版本序号
    */
   private int revisionSeq;
   /**
    * 版本值
    */
   private String revisionValue;
   /**
    * 版次规则
@@ -111,60 +82,89 @@
   private String versionRule;
   /**
    * 版本序号
    */
   private int revisionSeq;
   /**
    * 版本值
    */
   private String revisionValue;
   /**
    * 版次排序
    */
   private int versionSeq;
   /**
    * 版次值
    */
   private String versionValue;
   /**
    * 生命周期的编号
    */
   private String lctId;
   /**
    * 生命周期值
    */
   private String lcStatus;
   /**
    * 生命周期显示文本
    */
   private String lcStatusText;
   /**
    * 时间戳,格式是yyyy-MM-dd HH:mm:ss.SSS
    */
   private Date ts;
   /**
    * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写;
    */
   private String id;
   /**
    * 名称;也可以不设置属性映射,默认是字段名的小写
    */
   private String name;
   /**
    * 描述
    */
   private String description;
   /**
    * 拥有者,与创建者有区别,常用于控制数据权限
    */
   private String owner;
   /**
    * 签入人--签入和签出数据是互斥
    */
   private String checkInBy;
   /**
    * 签入时间
    */
   private Date checkInTime;
   /**
    * 签出人
    */
   private String checkOutBy;
   /**
    * 签出时间
    */
   private Date checkOutTime;
   /**
    * 从哪个版本拷贝
    */
   private String copyFromVersion;
   /**
    * 生命周期显示文本
    */
   private String lcStatusText;
   /**
    * 密级
@@ -177,14 +177,8 @@
   private String secretGradeText;
   /**
    * 生命周期的名称
    */
   private String lctid;
   /**
    * 扩展的属性
    */
   @Transient
   private Map<String,String> data;
   public String getOid() {
@@ -193,30 +187,6 @@
   public void setOid(String oid) {
      this.oid = oid;
   }
   public String getId() {
      return id;
   }
   public void setId(String id) {
      this.id = id;
   }
   public String getName() {
      return name;
   }
   public void setName(String name) {
      this.name = name;
   }
   public String getDescription() {
      return description;
   }
   public void setDescription(String description) {
      this.description = description;
   }
   public String getRevisionOid() {
@@ -235,12 +205,12 @@
      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() {
@@ -281,6 +251,14 @@
   public void setCreator(String creator) {
      this.creator = creator;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public String getLastModifier() {
@@ -347,6 +325,13 @@
      this.versionValue = versionValue;
   }
   public String getLctId() {
      return lctId;
   }
   public void setLctId(String lctId) {
      this.lctId = lctId;
   }
   public String getLcStatus() {
      return lcStatus;
@@ -362,6 +347,30 @@
   public void setTs(Date ts) {
      this.ts = ts;
   }
   public String getId() {
      return id;
   }
   public void setId(String id) {
      this.id = id;
   }
   public String getName() {
      return name;
   }
   public void setName(String name) {
      this.name = name;
   }
   public String getDescription() {
      return description;
   }
   public void setDescription(String description) {
      this.description = description;
   }
   public String getOwner() {
@@ -420,14 +429,6 @@
      this.lcStatusText = lcStatusText;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public Integer getSecretGrade() {
      return secretGrade;
   }
@@ -444,59 +445,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 "BaseModelVO{" +
            "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 + '\'' +
            ", lcStatus='" + lcStatus + '\'' +
            ", lcStatusText='" + lcStatusText + '\'' +
            ", ts=" + ts +
            ", owner='" + owner + '\'' +
            ", checkInBy='" + checkInBy + '\'' +
            ", checkInTime=" + checkInTime +
            ", checkOutBy='" + checkOutBy + '\'' +
            ", checkOutTime=" + checkOutTime +
            ", copyFromVersion='" + copyFromVersion + '\'' +
            ", secretGrade=" + secretGrade +
            ", secretGradeText='" + secretGradeText + '\'' +
            ", lctid='" + lctid + '\'' +
            ", data=" + data +
            '}';
   }
}