package com.crm.manager.dto.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.crm.rely.backend.core.dto.base.BaseInfoDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SalesVolumeCommissionExportDto extends BaseRowModel {

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

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

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

    @ExcelProperty(value = "团队长编号", index = 3)
    private String salesLeaderNo;

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

    @ExcelProperty(value = "账户类型", index = 5)
    private String groupTypeName;

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

    @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 Float volume;

    @ExcelProperty(value = "个人交易量佣金", index = 10)
    private Float personalCommission;

    @ExcelProperty(value = "团队手数", index = 11)
    private Float teamVolume;

    @ExcelProperty(value = "团队交易量佣金", index = 12)
    private Float teamCommission;
}
