package com.lesingle.creation.vo.team;

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

import java.time.LocalDateTime;
import java.util.List;

/**
 * 团队 VO
 */
@Data
@Schema(description = "团队响应")
public class TeamVO {

    @Schema(description = "团队 ID")
    private Long id;

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

    @Schema(description = "活动 ID")
    private Long contestId;

    @Schema(description = "活动名称")
    private String contestName;

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

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

    @Schema(description = "队长姓名")
    private String leaderName;

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

    @Schema(description = "当前人数")
    private Integer currentMembers;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "成员列表")
    private List<TeamMemberVO> members;
}
