package com.dsh.course.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.util.Date;
|
import java.io.Serializable;
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* <p>
|
* 评价学员记录
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-07-03
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_evaluate_student")
|
public class EvaluateStudent extends Model<EvaluateStudent> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 教练id
|
*/
|
@TableField("coachId")
|
private Integer coachId;
|
/**
|
* 学员id
|
*/
|
@TableField("studentId")
|
private Integer studentId;
|
/**
|
* 评语
|
*/
|
@TableField("content")
|
private String content;
|
/**
|
* 图片
|
*/
|
@TableField("imgs")
|
private String imgs;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
private Date insertTime;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|