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 TradeAccountExportEnDto extends BaseRowModel {
    @ExcelProperty(value = "CID", index = 0)
    private Long CID;
    @ExcelProperty(value = "Super Affiliation Code", index = 1)
    private String pIbNo;
    @ExcelProperty(value = "Affiliation Code", index = 2)
    private String ibNo;
    @ExcelProperty(value = "Trading Account", index = 3)
    private Long login;
    @ExcelProperty(value = "Trading Platform", index = 4)
    private String platform;
    @ExcelProperty(value = "Registration Date", index = 5, format = "yyyy-MM-dd HH:mm:ss")
    private Date registration;
    @ExcelProperty(value = "Leverage", index = 6)
    private String leverage;
    @ExcelProperty(value = "Commission", index = 7)
    private Float commission;
    @ExcelProperty(value = "Balance", index = 8)
    private Float balance;
    @ExcelProperty(value = "Floating", index = 9)
    private Float floating;
    @ExcelProperty(value = "Equity", index = 10)
    private Float equity;
    @ExcelProperty(value = "Credit", index = 11)
    private Float credit;
    @ExcelProperty(value = "Margin", index = 12)
    private Float margin;

}
