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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lesingle.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_contest_judge")
@Schema(description = "活动评委实体")
public class BizContestJudge extends BaseEntity {

    @Schema(description = "活动ID")
    @TableField("contest_id")
    private Long contestId;

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

    @Schema(description = "专业特长")
    private String specialty;

    @Schema(description = "评委权重（0-1）")
    private BigDecimal weight;

    @Schema(description = "评委描述")
    private String description;
}
