package com.lesingle.creation.dto.team;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 创建团队请求 DTO
 */
@Data
@Schema(description = "创建团队请求")
public class CreateTeamDTO {

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

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

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

    @Schema(description = "最大人数", example = "5")
    private Integer maxMembers = 5;

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

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