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

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

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

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

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

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

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

    @ExcelProperty(value = "金额", index = 6)
    private Float amount;

    @ExcelProperty(value = "明细类型", index = 7)
    private String dwTypeName;


}
