package com.lesingle.creation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lesingle.creation.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 作业评分表实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_biz_homework_score")
public class HomeworkScore extends BaseEntity {

    /**
     * 租户 ID
     */
    @TableField("tenant_id")
    private Long tenantId;

    /**
     * 提交 ID
     */
    @TableField("submission_id")
    private Long submissionId;

    /**
     * 作业 ID
     */
    @TableField("homework_id")
    private Long homeworkId;

    /**
     * 评分人 ID
     */
    @TableField("reviewer_id")
    private Long reviewerId;

    /**
     * 得分
     */
    @TableField("score")
    private BigDecimal score;

    /**
     * 评语
     */
    @TableField("comment")
    private String comment;
}
