This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
copy-kamanote/src/main/java/com/example/copykamanotes/model/entity/Collection.java
LingandRX 8150192b1b feat(model): 新增实体类和相关功能
- 新增 Category、Collection、Comment 等实体类
- 实现笔记查询、分类、收藏、评论等功能
- 添加 Markdown 解析工具类
- 新增用户点赞和收藏功能
- 实现问题查询和统计功能
2025-03-27 21:20:23 +08:00

41 lines
572 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.example.copykamanotes.model.entity;
import lombok.Data;
import java.util.Date;
/**
* 收藏夹实体类
*/
@Data
public class Collection {
/*
* 收藏夹ID主键
*/
private Integer collectionId;
/*
* 收藏夹名称
*/
private String name;
/*
* 收藏夹描述
*/
private String description;
/*
* 收藏夹创建者ID
*/
private Long creatorId;
/*
* 创建时间
*/
private Date createdAt;
/*
* 更新时间
*/
private Date updatedAt;
}