package com.peanut.modules.common.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @Data @TableName("class_user") public class ClassUser { @TableId private Integer id; private Integer classId; private Integer userId; private String role;//角色0学员1班长2副班长3学习委员4评分员5记分员 @TableLogic private Integer delFlag; @TableField(exist = false) private MyUserEntity user; @TableField(exist = false) private boolean isReply; @TableField(exist = false) private boolean isReplySuccess; @TableField(exist = false) private double score; }