资源添加开发完成

This commit is contained in:
YunaiV
2019-02-28 23:11:59 +08:00
parent f5b105973d
commit b1248d7e2a
13 changed files with 386 additions and 59 deletions

View File

@@ -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;
}