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;

/**
 * 邀请成员请求 DTO
 */
@Data
@Schema(description = "邀请成员请求")
public class InviteMemberDTO {

    @NotNull(message = "用户 ID 不能为空")
    @Schema(description = "被邀请用户 ID")
    private Long userId;

    @NotBlank(message = "角色不能为空")
    @Schema(description = "角色：member/mentor", example = "member")
    private String role;
}
