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_dimension")
public class HomeworkReviewDimension extends BaseEntity {

    /**
     * 规则 ID
     */
    @TableField("rule_id")
    private Long ruleId;

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

    /**
     * 维度名称
     */
    @TableField("name")
    private String name;

    /**
     * 满分
     */
    @TableField("max_score")
    private BigDecimal maxScore;

    /**
     * 维度描述
     */
    @TableField("description")
    private String description;

    /**
     * 排序顺序
     */
    @TableField("sort_order")
    private Integer sortOrder;
}
