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/Statistic.java
LingandRX 8150192b1b feat(model): 新增实体类和相关功能
- 新增 Category、Collection、Comment 等实体类
- 实现笔记查询、分类、收藏、评论等功能
- 添加 Markdown 解析工具类
- 新增用户点赞和收藏功能
- 实现问题查询和统计功能
2025-03-27 21:20:23 +08:00

53 lines
817 B
Java

package com.example.copykamanotes.model.entity;
import lombok.Data;
import java.time.LocalDate;
/**
* 统计信息实体,包含登录、注册、笔记等统计数据
*/
@Data
public class Statistic {
/**
* 主键 ID
*/
private Integer id;
/**
* 当天登录次数
*/
private Integer loginCount;
/**
* 当天注册人数
*/
private Integer registerCount;
/**
* 累计注册总人数
*/
private Integer totalRegisterCount;
/**
* 当天笔记数量
*/
private Integer noteCount;
/**
* 当天提交的笔记数量
*/
private Integer submitNoteCount;
/**
* 累计笔记总数量
*/
private Integer totalNoteCount;
/**
* 统计日期
*/
private LocalDate date;
}