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;

/**
 * 竞赛评委表实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_biz_contest_judge")
public class ContestJudge extends BaseEntity {

    /**
     * 赛事 ID
     */
    @TableField("contest_id")
    private Long contestId;

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

    /**
     * 评委用户 ID
     */
    @TableField("judge_id")
    private Long judgeId;

    /**
     * 评委姓名
     */
    @TableField("judge_name")
    private String judgeName;

    /**
     * 职称
     */
    @TableField("title")
    private String title;

    /**
     * 所属单位
     */
    @TableField("organization")
    private String organization;

    /**
     * 联系电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 专业领域
     */
    @TableField("specialty")
    private String specialty;

    /**
     * 状态：active/inactive
     */
    @TableField("status")
    private String status;
    /**
     * 有效状态：1-有效，2-失效
     */
    @TableField("valid_state")
    private Integer validState;

    /**
     * 权重
     */
    @TableField("weight")
    private java.math.BigDecimal weight;
}
