package com.crm.rely.backend.core.pojo.view;

import com.crm.rely.backend.core.dto.ib.trade.AccountDailySummarySumDto;
import com.crm.rely.backend.core.pojo.table.AccountDailySummaryTable;
import lombok.Data;

import java.util.Date;

@Data
public class AccountDailySummarySumView {

    private Integer count;

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

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

}
