package com.honey.honey.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * DTO for user check endpoint response.
 * Contains user information for external applications.
 * Always returned with HTTP 200; use {@code found} to distinguish user-not-found from success.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserCheckDto {
    /** When false, user was not found by telegramId; other fields are null. */
    private Boolean found;
    private Integer dateReg;
    private Double tickets; // balance_a / 1,000,000
    private Integer depositTotal; // Sum of completed payments stars_amount
    private Integer refererId; // referer_id_1 from db_users_d
}

