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

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 = "Requête de réinitialisation de mot de passe")
public class PasswordResetRequestDTO implements Serializable {
    @Schema(description = "Nouveau mot de passe", required = true)
    private String password;

    @Schema(description = "Indique si le mot de passe est temporaire", defaultValue = "true")
    @Builder.Default
    private boolean temporary = true;
}
