50 lines
1.0 KiB
Java
50 lines
1.0 KiB
Java
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;
|
|
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@TableName("class_task")
|
|
public class ClassTask {
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
private Integer classId;
|
|
|
|
private Integer userId;
|
|
|
|
private Date createTime;
|
|
|
|
private String type;//类型 0班内任务1医案2心得
|
|
|
|
private String display;//是否展示 0否1是
|
|
|
|
private String sort;//排序
|
|
|
|
private String title;
|
|
|
|
private String content;
|
|
|
|
private String img;
|
|
|
|
private int scoreSuccess;//已评分人数
|
|
|
|
private double score;//分数
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
@TableField(exist = false)
|
|
private Object createUser;
|
|
@TableField(exist = false)
|
|
private boolean isReply;
|
|
@TableField(exist = false)
|
|
private Object otherInfo;
|
|
}
|