package com.crm.manager.dto.export;

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

import java.util.Date;

/**
 * @ClassName TradeStandardRebateExportDto
 * @Description
 * @Author y
 * @Date 2023/3/21 17:01
 */
@Data
public class TradeStandardRebateExportDto extends BaseRowModel {


    @ExcelProperty(value = "订单号", index = 0)
    private Long ticket;

    @ExcelProperty(value = "CID", index = 1)
    private Long CID;

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

    @ExcelProperty(value = "姓名", index = 2)
    private String name;

    @ExcelProperty(value = "品种", index = 3)
    private String symbol;

    @ExcelProperty(value = "交易类型", index = 4)
    private String cmdName;

    @ExcelProperty(value = "开仓时间", index = 5, format = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;

    @ExcelProperty(value = "开仓价", index = 6)
    private Float openPrice;

    @ExcelProperty(value = "平仓时间", index = 7, format = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    @ExcelProperty(value = "平仓价", index = 8)
    private Float closePrice;

    @ExcelProperty(value = "交易平台", index = 9)
    private String platform;

    @ExcelProperty(value = "订单手数", index = 5)
    private Float ticketVolume;

    @ExcelProperty(value = "返现手数", index = 10)
    private Float rebateVolume;

    @ExcelProperty(value = "返点", index = 11)
    private Float rebatePoint;

    @ExcelProperty(value = "返现金额", index = 12)
    private Float rebateAmount;

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

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


}
