package com.crm.manager.dto.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by max on 2020/9/8.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TradeAccountExportDto extends BaseRowModel {
    @ExcelProperty(value = "CID", index = 0)
    private Long CID;
    @ExcelProperty(value = "上级编号", index = 1)
    private String pIbNo;
    @ExcelProperty(value = "代理编号", index = 2)
    private String ibNo;
    @ExcelProperty(value = "交易账号", index = 3)
    private Long login;
    @ExcelProperty(value = "账户类型", index = 4)
    private String groupTypeName;
    @ExcelProperty(value = "交易平台", index = 5)
    private String platform;
    @ExcelProperty(value = "开户时间", index = 6, format = "yyyy-MM-dd HH:mm:ss")
    private Date registration;
    @ExcelProperty(value = "杠杆比例", index = 7)
    private String leverage;
    @ExcelProperty(value = "佣金", index = 8)
    private Float commission;
    @ExcelProperty(value = "余额", index = 9)
    private Float balance;
    @ExcelProperty(value = "浮动盈亏", index = 10)
    private Float floating;
    @ExcelProperty(value = "净值", index = 11)
    private Float equity;
    @ExcelProperty(value = "信用", index = 12)
    private Float credit;
    @ExcelProperty(value = "保证金", index = 13)
    private Float margin;


}
