package org.springblade.modules.martial.pojo.dto;

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

import java.io.Serializable;
import java.util.List;

/**
 * 竞赛分组DTO
 *
 * @author BladeX
 */
@Data
@Schema(description = "竞赛分组DTO")
public class CompetitionGroupDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "分组ID")
	private Long id;

	@Schema(description = "项目ID")
	private Long projectId;

	@Schema(description = "分组标题")
	private String title;

	@Schema(description = "类型：集体/单人/双人")
	private String type;

	@Schema(description = "队伍数量")
	private String count;

	@Schema(description = "分组编号")
	private String code;

	@Schema(description = "当前所属场地ID")
	private Long venueId;

	@Schema(description = "场地名称")
	private String venueName;

	@Schema(description = "时间段")
	private String timeSlot;

	@Schema(description = "时间段索引")
	private Integer timeSlotIndex;

	@Schema(description = "预计时长(分钟)")
	private Integer estimatedDuration;

	@Schema(description = "状态: 0-未开始, 1-进行中, 2-已完成")
	private Integer status;

	@Schema(description = "参赛人员列表")
	private List<ParticipantDTO> participants;

}
