package com.jojubanking.boot.module.system.controller.admin.order.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.jojubanking.boot.framework.excel.core.annotations.DictFormat;
import com.jojubanking.boot.framework.excel.core.convert.DictConvert;
import com.jojubanking.boot.module.system.enums.DictTypeConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class OrderSumExcelVO {

    @ExcelProperty(value ={"体检批次号"},index = 1)
    private String batchno;

    @ExcelProperty(value ={"班级"},index = 3)
    @ColumnWidth(value = 15)
    private String className;

    @ExcelProperty(value ={"学校"},index = 2)
    @ColumnWidth(value = 20)
    private String schoolName;

    @ExcelProperty(value ={"性别"},index = 4, converter = DictConvert.class)
    @DictFormat(DictTypeConstants.USER_SEX)
    @ColumnWidth(value = 10)
    private Integer sex;

    @ExcelProperty(value ={"项目名称"},index = 0)
    private String itemname;

    @ExcelProperty(value ={"人数"},index = 5)
    @ColumnWidth(value = 10)
    private String patCount;

    @ExcelProperty(value ={"金额"},index = 6)
    @ColumnWidth(value = 30)
    private String priceSum;
}
