package com.remy.common.module;

import com.remy.common.enumeration.GenderEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Singular;
import lombok.experimental.SuperBuilder;

import java.time.LocalDate;
import java.util.List;

@SuperBuilder
@Data
@NoArgsConstructor
public class UserDTO extends BaseDTO {

    private String username;

    private String password;

    private String nickname;

    private String img;

    private GenderEnum gender;

    private Integer age;

    private LocalDate birthday;

    private Integer level;

    @Singular
    private List<String> addresses;

    private List<OrderDTO> orders;
}
