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

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

/**
 * 生成邀请码DTO
 *
 * @author Blade
 * @since 2025-12-12
 */
@Data
@Schema(description ="生成邀请码DTO")
public class GenerateInviteDTO {

	@Schema(description = "赛事ID", required = true)
    private Long competitionId;

	@Schema(description = "评委ID", required = true)
    private Long judgeId;

	@Schema(description = "角色：judge-普通评委，chief_judge-裁判长", required = true)
    private String role;

	@Schema(description = "分配场地ID（普通评委必填）")
    private Long venueId;

	@Schema(description = "分配项目列表（JSON数组字符串）")
    private String projects;

	@Schema(description = "过期天数（默认30天）")
    private Integer expireDays = 30;
}
