package com.honey.honey.dto;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {
    private Integer id; // User ID
    private Long telegram_id;
    private String username;
    private String screenName; // User's screen name
    private Integer dateReg; // Registration date (Unix timestamp in seconds)
    private String ip;
    private Double balanceA; // Balance for display (raw bigint / 1_000_000)
    private Double balanceB; // Second balance for display (raw bigint / 1_000_000)
    private String avatarUrl; // Public URL of user's avatar
    private String languageCode; // User's language preference (EN, RU, DE, IT, NL, PL, FR, ES, ID, TR)
    private Boolean paymentEnabled; // Runtime toggle: deposits (Store, Payment Options, etc.) allowed
    private Boolean payoutEnabled; // Runtime toggle: withdrawals (Payout, crypto withdrawal) allowed
    private Boolean banned; // Whether the user is banned
    private Integer depositCount; // Number of deposits (from db_users_b); 0 = first deposit eligible for bonus
}

