feat(recycle-bin): 实现回收站功能
- 新增回收站管理相关接口和页面 - 实现笔记和分组的软删除、恢复和永久删除功能 - 添加回收站数据展示和操作界面 - 设计回收站功能的数据库表结构和API接口
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.test.bijihoudaun.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@Schema(name = "回收站项目视图对象")
|
||||
public class TrashItemVo {
|
||||
|
||||
@Schema(description = "项目ID")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "项目名称(笔记标题或分组名称)")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "项目类型(note 或 group)")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "删除时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deletedAt;
|
||||
|
||||
@Schema(description = "删除者ID")
|
||||
private String deletedBy;
|
||||
}
|
||||
Reference in New Issue
Block a user