package com.crm.rely.backend.core.dto.ib.trade;

import lombok.Data;

import java.util.Date;

@Data
public class  AccountDailySummarySumDto {

    /**
     * 入金
     */
    private Float deposit;
    /**
     * 出金
     */
    private Float withdrawal;
    /**
     * 净入金
     */
    private Float netDeposit;
    /**
     * 手数
     */
    private Float volume;
    /**
     * 合计返佣
     */
    private Float sumRebate;
    /**
     * 库存费
     */
    private Float storage;
    /**
     * 盈亏
     */
    private Float profit;

    public static AccountDailySummarySumDto getInstance(){
        AccountDailySummarySumDto dto = new AccountDailySummarySumDto();
        dto.deposit = 0f;
        dto.withdrawal = 0f;
        dto.netDeposit = 0f;
        dto.volume = 0f;
        dto.sumRebate = 0f;
        dto.storage = 0f;
        dto.profit = 0f;
        return dto;
    }

}
