package com.tasteby.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    private String id;
    private String email;
    private String nickname;
    private String avatarUrl;
    @JsonProperty("is_admin")
    private boolean admin;
    private String provider;
    private String providerId;
    private String createdAt;
    private int favoriteCount;
    private int reviewCount;
    private int memoCount;
}
