oj/oj-spring-boot/src/main/java/top/weiyuexin/pojo/Article.java

23 lines
507 B
Java
Raw Normal View History

2024-09-21 21:58:34 +08:00
package top.weiyuexin.pojo;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
2024-09-21 21:58:34 +08:00
@Data
public class Article {
private Integer id;
private Integer problemId;
private Integer authorId;
@TableField(exist = false)
private String authorName;
@TableField(exist = false)
private User user;
private String title;
private String content;
private String time;
private Integer readNum;
private Integer starNum;
private Integer commentNum;
}