package Reservista.example.Backend.DTOs.Profile;


import Reservista.example.Backend.Enums.Genders;
import Reservista.example.Backend.Validators.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProfileDTO {
    @Username
    private String userName;

    @Gmail
    private String email;

    private String firstName;

    private String middleName;

    private String lastName;

    @Age
    private LocalDate birthDate;

    @Gender
    private Genders gender;

    @Nationality
    private String nationality;

}
