package com.lesingle.modules.biz.contest.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "创建团队DTO")
public class CreateTeamDto {

    @NotNull(message = "活动ID不能为空")
    @Schema(description = "活动ID")
    private Long contestId;

    @NotBlank(message = "团队名称不能为空")
    @Schema(description = "团队名称")
    private String teamName;

    @NotNull(message = "队长ID不能为空")
    @Schema(description = "队长ID")
    private Long leaderId;

    @Schema(description = "成员ID列表")
    private List<Long> memberIds;

    @Schema(description = "指导老师ID列表")
    private List<Long> teacherIds;

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