package dev.lions.user.manager.dto.realm;

import io.quarkus.runtime.annotations.RegisterForReflection;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.eclipse.microprofile.openapi.annotations.media.Schema;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@RegisterForReflection
@Schema(description = "Réponse de vérification d'accès au realm")
public class RealmAccessCheckDTO implements Serializable {
    @Schema(description = "L'utilisateur peut gérer le realm")
    private boolean canManage;

    @Schema(description = "ID de l'utilisateur")
    private String userId;

    @Schema(description = "Nom du realm")
    private String realmName;
}
