package com.template.model.evaluate.student;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="smartSubjectRule", description="")
public class SmartEvaluateStudent {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    public Integer id;

    @ApiModelProperty(value = "学期")
    public String term;

    @ApiModelProperty(value = "学期Id")
    public Integer termId;

    @ApiModelProperty(value = "年级名称")
    public String gradeName;

    @ApiModelProperty(value = "年级Id")
    public Integer gradeId;

    @ApiModelProperty(value = "班级")
    public String className;

    @ApiModelProperty(value = "班级Id")
    public Integer classId;

    @ApiModelProperty(value = "学号")
    public String cardNo;

    @ApiModelProperty(value = "姓名")
    public String name;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "分值")
    public Double scoreNum;

    @ApiModelProperty(value = "综合等级")
    public String scoreLevel;

    @ApiModelProperty(value = "评语")
    public String scoreComment;

    @ApiModelProperty(value = "科目数量")
    public Integer subjectNum;

    @ApiModelProperty(value = "逻辑删除 未删除：0；删除：1")
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    public Integer deleted;
}
