package com.smyhub.infogenie.infogeniebackendjava.dto.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Response for GET /api/user/profile.
 * Full user object from the auth-center token verification.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserProfileResponse {

    private String account;
    private String username;
    private String email;
    private String avatar;
    private Integer level;

    @JsonProperty("sprout_coins")
    private Integer sproutCoins;

    @JsonProperty("checkin_days")
    private Integer checkinDays;

    @JsonProperty("checkin_streak")
    private Integer checkinStreak;
}
