package ru.soune.nocopy.dto.register;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogoutRequest {
    @NotBlank(message = "error.not.blank") @Email(message = "error.not.email") @Size(max = 128)
    private String email;

    @NotBlank(message = "error.not.blank")
    private String token;
}
