资源添加开发完成
This commit is contained in:
@@ -7,6 +7,15 @@ import java.util.Date;
|
||||
*/
|
||||
public class BaseDO {
|
||||
|
||||
/**
|
||||
* 是否删除 - 是
|
||||
*/
|
||||
public static final Integer DELETED_YES = 1;
|
||||
/**
|
||||
* 是否删除 - 否
|
||||
*/
|
||||
public static final Integer DELETED_NO = 0;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@@ -15,7 +24,10 @@ public class BaseDO {
|
||||
* 最后更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
private Boolean deleted;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
@@ -35,11 +47,11 @@ public class BaseDO {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Boolean getDeleted() {
|
||||
public Integer getDeleted() {
|
||||
return deleted;
|
||||
}
|
||||
|
||||
public BaseDO setDeleted(Boolean deleted) {
|
||||
public BaseDO setDeleted(Integer deleted) {
|
||||
this.deleted = deleted;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user