添加deleted字段
This commit is contained in:
@@ -82,4 +82,6 @@ public class ArticleModel {
|
|||||||
* 文章的状态 true:公开 false:不公开
|
* 文章的状态 true:公开 false:不公开
|
||||||
*/
|
*/
|
||||||
private Boolean open;
|
private Boolean open;
|
||||||
|
|
||||||
|
private boolean deleted;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,4 +20,5 @@ public class CategoryModel {
|
|||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
private List<ArticleModel> articles;
|
private List<ArticleModel> articles;
|
||||||
|
private boolean deleted;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,4 +21,5 @@ public class TagModel {
|
|||||||
|
|
||||||
private List<ArticleModel> articles;
|
private List<ArticleModel> articles;
|
||||||
|
|
||||||
|
private boolean deleted;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,4 +37,6 @@ public class UserModel {
|
|||||||
private String role = "user";
|
private String role = "user";
|
||||||
|
|
||||||
private String token;
|
private String token;
|
||||||
|
|
||||||
|
private int status;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,4 +21,6 @@ public class WebUpdateModel {
|
|||||||
this.info = info;
|
this.info = info;
|
||||||
this.time = time;
|
this.time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean deleted;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user