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 TradeDwExportEnDto extends BaseRowModel {

    @ExcelProperty(value = "CID", index = 0)
    private Long CID;
    @ExcelProperty(value = "Name", index = 1)
    private String name;
    @ExcelProperty(value = "Affiliation Code", index = 2)
    private String ibNo;
    @ExcelProperty(value = "Trading Account", index = 3)
    private Long login;
    @ExcelProperty(value = "Deposit", index = 4)
    private Float deposit;
    @ExcelProperty(value = "Withdrawal", index = 5)
    private Float withdrawal;
    @ExcelProperty(value = "Credit", index = 6)
    private Float credit;
    @ExcelProperty(value = "Processing Date", index = 7, format = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;
    @ExcelProperty(value = "Sales Code", index = 8)
    private String salesNo;
    @ExcelProperty(value = "Ticket", index = 9)
    private Long ticket;
    @ExcelProperty(value = "Comment", index = 10)
    private String comment;
    @ExcelProperty(value = "Platform", index = 11)
    private String platform;

}
