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

58 lines
885 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.time.LocalDateTime;
import java.util.Date;
/**
* @ClassName Question
* @Description 问题实体类
* @Author Tong
* @LastChangeDate 2024-12-16 19:56
* @Version v1.0
*/
@Data
public class Question {
/*
* 问题ID主键
*/
private Integer questionId;
/*
* 问题所属分类ID
*/
private Integer categoryId;
/*
* 问题标题
*/
private String title;
/*
* 问题难度
* 1=简单2=中等3=困难
*/
private Integer difficulty;
/*
* 题目考点
*/
private String examPoint;
/*
* 浏览量
*/
private Integer viewCount;
/*
* 创建时间
*/
private LocalDateTime createdAt;
/*
* 更新时间
*/
private LocalDateTime updatedAt;
}