55 lines
1.1 KiB
Java
55 lines
1.1 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;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
@Data
|
|
@TableName("class")
|
|
public class ClassEntity {
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
private Integer modelId;
|
|
|
|
private String title;
|
|
|
|
//小班状态 0待开班1进行中2完成3考试中
|
|
private String state;
|
|
|
|
private String icon;
|
|
|
|
//群二维码
|
|
private String qrcode;
|
|
|
|
private String content;
|
|
|
|
private Integer number; //成员数量
|
|
|
|
private Integer createUserid;
|
|
|
|
private Date createTime;
|
|
|
|
private Date startTime;
|
|
|
|
private Date endTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
@TableField(exist = false)
|
|
private Object createUser;
|
|
@TableField(exist = false)
|
|
private ClassModel classModel;
|
|
@TableField(exist = false)
|
|
private List<Map<String,Object>> classUsers;
|
|
|
|
|
|
}
|