package com.ruoyi.excel.wecom.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

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

/**
 * 部门统计数据导出VO
 * 用于EasyExcel导出部门统计数据
 */
@Data
public class DepartmentStatisticsDataVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty("统计日期")
    @Excel(name ="统计日期")
    @DateTimeFormat("yyyy-MM-dd")
    @ColumnWidth(15)
    private Date statDate;

    @ExcelProperty("部门路径")
    @Excel(name ="部门路径")
    @ColumnWidth(40)
    private String departmentPath;

    @ExcelProperty("当日总承接数")
    @Excel(name ="当日总承接数")
    @ColumnWidth(15)
    private Integer dailyTotalAccepted;

    @ExcelProperty("当日总成单数")
    @Excel(name ="当日总成单数")
    @ColumnWidth(15)
    private Integer dailyTotalOrders;

    @ExcelProperty("当日转化率")
    @Excel(name ="当日转化率")
    @ColumnWidth(15)
    private BigDecimal dailyConversionRate;


    @ExcelProperty("排序号")
    @Excel(name ="排序号")
    @ColumnWidth(10)
    private Integer sortNo;
}
