#1971 建表clear,BO字段调整

parent 312a4c91
Pipeline #4712 canceled with stages
......@@ -16,31 +16,32 @@ public abstract class BizObject extends ModelObject {
/**
* 事务类型 insert/update/delete
*/
private String txCode;
String txCode;
/**
* 当事务类型为update时,记录修改过的字段
*/
private Map<String, Object> updatedFields;
Map<String, Object> updatedFields;
Long id;// BO 的ID全部为雪花ID
int version;
@Column(label = "主键")
private Long id;// BO 的ID全部为雪花ID
@Column(label = "版本号")
private int version;
@Column(label = "BO名称")
private String boName;
@Column(label = "创建用户")
private BizOne<User> createUser;
@Column(label = "创建时间")
private OffsetDateTime createDate;
@Column(label = "最后修改用户")
private BizOne<User> updateUser;
@Column(label = "最后修改时间")
private OffsetDateTime updateDate;
String boName;
BizOne<User> insertUser;
OffsetDateTime insertDate;
BizOne<User> updateUser;
OffsetDateTime updateDate;
@Composite(label = "项目扩展字段", prefix = "exp_")
private BizExpando exps;
@Column(label = "域")
private String domain;
BizExpando exps;
String domainName;
@Override
......@@ -77,28 +78,24 @@ public abstract class BizObject extends ModelObject {
this.boName = boName;
}
public BizOne<User> getCreateUser() {
return createUser;
public Map<String, Object> getUpdatedFields() {
return updatedFields;
}
public void setCreateUser(BizOne<User> createUser) {
this.createUser = createUser;
public BizOne<User> getInsertUser() {
return insertUser;
}
public OffsetDateTime getCreateDate() {
return createDate;
public void setInsertUser(BizOne<User> insertUser) {
this.insertUser = insertUser;
}
public void setCreateDate(OffsetDateTime createDate) {
this.createDate = createDate;
}
public BizOne<User> getUpdateUser() {
return updateUser;
public OffsetDateTime getInsertDate() {
return insertDate;
}
public void setUpdateUser(BizOne<User> updateUser) {
this.updateUser = updateUser;
public void setInsertDate(OffsetDateTime insertDate) {
this.insertDate = insertDate;
}
public OffsetDateTime getUpdateDate() {
......@@ -109,6 +106,14 @@ public abstract class BizObject extends ModelObject {
this.updateDate = updateDate;
}
public BizOne<User> getUpdateUser() {
return updateUser;
}
public void setUpdateUser(BizOne<User> updateUser) {
this.updateUser = updateUser;
}
public BizExpando getExps() {
return exps;
}
......@@ -117,11 +122,11 @@ public abstract class BizObject extends ModelObject {
this.exps = exps;
}
public String getDomain() {
return domain;
public String getDomainName() {
return domainName;
}
public void setDomain(String domain) {
this.domain = domain;
public void setDomainName(String domainName) {
this.domainName = domainName;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment