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_review_rule")
public class HomeworkReviewRule extends BaseEntity {

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

    /**
     * 规则名称
     */
    @TableField("rule_name")
    private String ruleName;

    /**
     * 规则类型：default/custom
     */
    @TableField("rule_type")
    private String ruleType;

    /**
     * 总分
     */
    @TableField("total_score")
    private BigDecimal totalScore;

    /**
     * 规则描述
     */
    @TableField("description")
    private String description;
}
