package top.weiyuexin.pojo; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; @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; }