package com.competition.modules.biz.review.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.competition.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_biz_preset_comment")
@Schema(description = "预设评语实体")
public class BizPresetComment extends BaseEntity {

    @Schema(description = "赛事ID")
    @TableField("contest_id")
    private Long contestId;

    @Schema(description = "评委ID")
    @TableField("judge_id")
    private Long judgeId;

    @Schema(description = "评语内容")
    private String content;

    @Schema(description = "对应分数")
    private BigDecimal score;

    @Schema(description = "排序序号")
    @TableField("sort_order")
    private Integer sortOrder;

    @Schema(description = "使用次数")
    @TableField("use_count")
    private Integer useCount;
}
