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

    @ExcelProperty(value = "CID", index = 0)
    private Long CID;
    @ExcelProperty(value = "姓名", index = 1)
    private String name;
    @ExcelProperty(value = "代理编号", index = 2)
    private String ibNo;
    @ExcelProperty(value = "交易账号", index = 3)
    private Long login;
    @ExcelProperty(value = "存款", index = 4)
    private Float deposit;
    @ExcelProperty(value = "取款", index = 5)
    private Float withdrawal;
    @ExcelProperty(value = "信用", index = 6)
    private Float credit;
    @ExcelProperty(value = "时间", index = 7, format = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;
    @ExcelProperty(value = "销售编号", index = 8)
    private String salesNo;
    @ExcelProperty(value = "订单号", index = 9)
    private Long ticket;
    @ExcelProperty(value = "注释", index = 10)
    private String comment;
    @ExcelProperty(value = "交易平台", index = 11)
    private String platform;

}
