| | |
| | | */ |
| | | public class BaseModel implements java.io.Serializable{ |
| | | |
| | | |
| | | /** |
| | | * 主键,如果自己的对象,不是oid作为主键的话,需要用id这个注解 |
| | | */ |
| | | @Column(nullable = false) |
| | | private String oid; |
| | | |
| | | /** |
| | | * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写; |
| | | */ |
| | | @Column() |
| | | private String id; |
| | | |
| | | /** |
| | | * 名称;也可以不设置属性映射,默认是字段名的小写 |
| | | */ |
| | | @Column() |
| | | private String name; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Column() |
| | | private String description; |
| | | |
| | | |
| | | /** |
| | | * 版本的主键 |
| | | */ |
| | | @Column() |
| | | private String revisionOid; |
| | | |
| | | |
| | | /** |
| | | * 对象的主键 |
| | | */ |
| | | @Column() |
| | | private String nameOid; |
| | | |
| | | |
| | | /** |
| | | * 业务类型的名称 |
| | | */ |
| | | @Column() |
| | | private String btmName; |
| | | |
| | | |
| | | /** |
| | | * 是否最后版本 |
| | | * 是否最后版本。1:是,0:否 |
| | | */ |
| | | @Column(length=1) |
| | | private String lastR; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 是否最初版本 |
| | | * 是否最初版本。1:是,0:否 |
| | | */ |
| | | @Column(length=1) |
| | | private String firstR; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 是否最新版次 |
| | | * 是否最新版次。1:是,0:否 |
| | | */ |
| | | @Column(length=1) |
| | | private String lastV; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 是否最早版次 |
| | | * 是否最早版次。1:是,0:否 |
| | | */ |
| | | @Column(length=1) |
| | | private String firstV; |
| | | |
| | | |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @Column(nullable = false) |
| | | private String creator; |
| | | |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @Column(nullable = false) |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date createTime; |
| | | |
| | | |
| | | /** |
| | | * 最后修改人 |
| | | */ |
| | | @Column(nullable = false) |
| | | private String lastModifier; |
| | | |
| | | |
| | | /** |
| | | * 最后修改时间,格式是yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date lastModifyTime; |
| | | |
| | | |
| | | /** |
| | | * 版本规则 |
| | | */ |
| | | @Column() |
| | | private String revisionRule; |
| | | |
| | | |
| | | /** |
| | | * 版本序号 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTInteger) |
| | | private int revisionSeq; |
| | | |
| | | /** |
| | | * 版本值 |
| | | */ |
| | | @Column() |
| | | private String revisionValue; |
| | | |
| | | |
| | | /** |
| | | * 版次规则 |
| | |
| | | private String versionRule; |
| | | |
| | | /** |
| | | * 版本序号 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTInteger) |
| | | private int revisionSeq; |
| | | |
| | | /** |
| | | * 版本值 |
| | | */ |
| | | @Column() |
| | | private String revisionValue; |
| | | |
| | | /** |
| | | * 版次排序 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTInteger) |
| | | private int versionSeq; |
| | | |
| | | |
| | | /** |
| | | * 版次值 |
| | | */ |
| | |
| | | */ |
| | | @Column() |
| | | private String lcStatus; |
| | | |
| | | /** |
| | | * 时间戳,格式是yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | @JsonFormat(pattern = VciDateUtil.DateTimeMillFormat) |
| | | private Date ts; |
| | | |
| | | /** |
| | | * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写; |
| | | */ |
| | | @Column() |
| | | private String id; |
| | | |
| | | /** |
| | | * 名称;也可以不设置属性映射,默认是字段名的小写 |
| | | */ |
| | | @Column() |
| | | private String name; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Column() |
| | | private String description; |
| | | |
| | | /** |
| | | * 拥有者,与创建者有区别,常用于控制数据权限 |
| | | */ |
| | | @Column(length = 50) |
| | | private String owner; |
| | | |
| | | /** |
| | | * 签入人--签入和签出数据是互斥 |
| | | */ |
| | | @Column(length = 50) |
| | | private String checkInBy; |
| | | |
| | | /** |
| | | * 签入时间 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date checkInTime; |
| | | |
| | | /** |
| | | * 签出人 |
| | | */ |
| | | @Column(length = 50) |
| | | private String checkOutBy; |
| | | |
| | | /** |
| | | * 签出时间 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date checkOutTime; |
| | | |
| | | /** |
| | | * 从哪个版本拷贝 |
| | | */ |
| | | @Column(length = 50) |
| | | private String copyFromVersion; |
| | | |
| | | /** |
| | | * 生命周期显示文本 |
| | | */ |
| | | @Transient(referColumn="lcStatus_text") |
| | | private String lcStatusText; |
| | | |
| | | /** |
| | | * 时间戳,格式是yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | @JsonFormat(pattern = VciDateUtil.DateTimeMillFormat) |
| | | private Date ts; |
| | | |
| | | /** |
| | | * 拥有者,与创建者有区别,常用于控制数据权限 |
| | | */ |
| | | @Column(length = 50) |
| | | private String owner; |
| | | |
| | | /** |
| | | * 签入人--签入和签出数据是互斥 |
| | | */ |
| | | @Column(length = 50) |
| | | private String checkInBy; |
| | | |
| | | /** |
| | | * 签入时间 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date checkInTime; |
| | | |
| | | /** |
| | | * 签出人 |
| | | */ |
| | | @Column(length = 50) |
| | | private String checkOutBy; |
| | | |
| | | /** |
| | | * 签出时间 |
| | | */ |
| | | @VciFieldType(VciFieldTypeEnum.VTDateTime) |
| | | private Date checkOutTime; |
| | | |
| | | /** |
| | | * 从哪个版本拷贝 |
| | | */ |
| | | @Column(length = 50) |
| | | private String copyFromVersion; |
| | | |
| | | /** |
| | | * 密级 |
| | |
| | | |
| | | 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() { |
| | |
| | | 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.lcStatus = lcStatus; |
| | | } |
| | | |
| | | public String getLcStatusText() { |
| | | return lcStatusText; |
| | | } |
| | | |
| | | public void setLcStatusText(String lcStatusText) { |
| | | this.lcStatusText = lcStatusText; |
| | | } |
| | | |
| | | public Date getTs() { |
| | | return ts; |
| | | } |
| | | |
| | | 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() { |
| | |
| | | this.copyFromVersion = copyFromVersion; |
| | | } |
| | | |
| | | public String getLcStatusText() { |
| | | return lcStatusText; |
| | | } |
| | | |
| | | public void setLcStatusText(String lcStatusText) { |
| | | this.lcStatusText = lcStatusText; |
| | | } |
| | | |
| | | public Integer getSecretGrade() { |
| | | return secretGrade; |
| | | } |