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_team")
public class ContestTeam extends BaseEntity {

    /**
     * 团队所属租户 ID
     */
    @TableField("tenant_id")
    private Long tenantId;

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

    /**
     * 团队名称
     */
    @TableField("team_name")
    private String teamName;

    /**
     * 团队负责人用户 ID
     */
    @TableField("leader_user_id")
    private Long leaderUserId;

    /**
     * 团队最大成员数
     */
    @TableField("max_members")
    private Integer maxMembers;

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