package com.honey.honey.dto;

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

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AdminMasterDto {
    private Integer id;
    private String screenName;
    /** Level 1 referrals count (from master's UserD row). */
    private Integer referals1;
    /** Level 2 referrals count. */
    private Integer referals2;
    /** Level 3 referrals count. */
    private Integer referals3;
    /** Total users with master_id = this master's id. */
    private Long totalReferrals;
    /** Sum of deposit_total of all referrals, in USD (divided by 1e9). */
    private BigDecimal depositTotalUsd;
    /** Sum of withdraw_total of all referrals, in USD (divided by 1e9). */
    private BigDecimal withdrawTotalUsd;
    /** depositTotalUsd - withdrawTotalUsd. */
    private BigDecimal profitUsd;
}
