package com.competition.modules.biz.contest.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;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_biz_contest_team")
@Schema(description = "赛事团队实体")
public class BizContestTeam extends BaseEntity {

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private Long tenantId;

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

    @Schema(description = "团队名称")
    @TableField("team_name")
    private String teamName;

    @Schema(description = "队长用户ID")
    @TableField("leader_user_id")
    private Long leaderUserId;

    @Schema(description = "最大成员数")
    @TableField("max_members")
    private Integer maxMembers;
}
