package com.crm.manager.dto.export;

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

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CustomAccountExportDto extends BaseRowModel {
    @ExcelProperty(value = "CID", index = 0)
    private Long CID;

    @ExcelProperty(value = "代理编号", index = 1)
    private String PIBNO;

    @ExcelProperty(value = "销售编号", index = 2)
    private String salesNo;

    @ExcelProperty(value = "平台", index = 3)
    private String platform;

    @ExcelProperty(value = "交易账户", index = 4)
    private Long login;

    @ExcelProperty(value = "组别类型", index = 5)
    private Long groupType;

    @ExcelProperty(value = "组别Code", index = 6)
    private String groupCode;

    @ExcelProperty(value = "账号类型", index = 7)
    private Long type;

    @ExcelProperty(value = "货币类型", index = 8)
    private String currency;

    @ExcelProperty(value = "杠杠", index = 9)
    private Integer leverage;

    @ExcelProperty(value = "邮箱", index = 10)
    private String email;

    @ExcelProperty(value = "名称", index = 11)
    private String name;

    @ExcelProperty(value = "国家(CODE)", index = 12)
    private String country;

    @ExcelProperty(value = "国家(中)", index = 13)
    private String countryName;

    @ExcelProperty(value = "国家(英)", index = 14)
    private String countryEnName;

    @ExcelProperty(value = "暗点", index = 15)
    private Integer hide;
    /**
     * 仓位
     */
    @ExcelProperty(value = "仓位", index = 16)
    private Integer pos;

    @ExcelProperty(value = "信用亏损(1可亏损 0 不可亏损)", index = 17)
    private Integer creditLoss;

    @ExcelProperty(value = "关闭功能(1:入金 2:出金 3:内转)", index = 18)
    private String closeFunctions;

    @ExcelProperty(value = "外佣", index = 19)
    private Float comPoint;

    @ExcelProperty(value = "账户状态(0:只读 1正常)", index = 20)
    private Integer valid;

    @ExcelProperty(value = "创建时间", index = 21, format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @ExcelProperty(value = "创建IP", index = 22)
    private String addIp;

    @ExcelProperty(value = "电话号码", index = 23)
    private String phone;

    @ExcelProperty(value = "重置状态(1:重置中 2:重置组别成功 3:重置组别失败)", index = 24)
    private Integer resetStatus;

    @ExcelProperty(value = "激活金额", index = 25)
    private BigDecimal quotaAmount;

    @ExcelProperty(value = "累计金额", index = 26)
    private BigDecimal cumulativeAmount;

    @ExcelProperty(value = "是否激活(0:未激活 1:激活)", index = 27)
    private Integer activation;

}
