| | |
| | | */ |
| | | 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; |
| | | |
| | | /** |
| | | * 版本的主键 |
| | |
| | | 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() |
| | | private String revisionRule; |
| | | |
| | | /** |
| | | * 版次规则 |
| | | */ |
| | | @Column() |
| | | private String versionRule; |
| | | |
| | | /** |
| | | * 版本序号 |
| | |
| | | */ |
| | | @Column() |
| | | private String revisionValue; |
| | | |
| | | |
| | | /** |
| | | * 版次规则 |
| | | */ |
| | | @Column() |
| | | private String versionRule; |
| | | |
| | | /** |
| | | * 版次排序 |
| | |
| | | private String lcStatus; |
| | | |
| | | /** |
| | | * 生命周期显示文本 |
| | | */ |
| | | @Transient(referColumn="lcStatus_text") |
| | | private String lcStatusText; |
| | | |
| | | /** |
| | | * 时间戳,格式是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; |
| | | |
| | | /** |
| | | * 拥有者,与创建者有区别,常用于控制数据权限 |
| | |
| | | private String copyFromVersion; |
| | | |
| | | /** |
| | | * 生命周期显示文本 |
| | | */ |
| | | @Transient(referColumn="lcStatus_text") |
| | | private String lcStatusText; |
| | | |
| | | /** |
| | | * 密级 |
| | | */ |
| | | @VciUseEnum(value = "Enumsecretgrade",showTextField = "secretGradeText" ) |
| | |
| | | |
| | | 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; |
| | | } |