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

    @ExcelProperty(value = "订单号", index = 0)
    private Long ticket;
    @ExcelProperty(value = "CID", index = 1)
    private Long CID;
    @ExcelProperty(value = "代理编号", index = 2)
    private String ibNo;
    @ExcelProperty(value = "交易账号", index = 3)
    private Long login;
    @ExcelProperty(value = "品种", index = 4)
    private String symbol;
    @ExcelProperty(value = "品种类型", index = 5)
    private String symbolTypeName;
    @ExcelProperty(value = "手数", index = 6)
    private Float volume;
    @ExcelProperty(value = "开仓时间", index = 7, format = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;
    @ExcelProperty(value = "平仓时间", index = 8, format = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;
    @ExcelProperty(value = "组别", index = 9)
    private String group;
    @ExcelProperty(value = "组别类型", index = 10)
    private String groupTypeName;
    @ExcelProperty(value = "内返返点", index = 11)
    private Float rebatePoint;
    @ExcelProperty(value = "内返佣金", index = 12)
    private Float rebateAmount;
    @ExcelProperty(value = "外返返点", index = 13)
    private Float commissionPoint;
    @ExcelProperty(value = "外返佣金", index = 14)
    private Float commissionAmount;
    @ExcelProperty(value = "PAMM手续费", index = 15)
    private Float pammCharge;
    @ExcelProperty(value = "销售编号", index = 16)
    private String salesNo;

}
