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