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

import com.alibaba.excel.annotation.ExcelIgnore;
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 lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 检查项目订单 Excel VO
 *
 * @author admin
 */
@Data
public class OrderExcelVO {

//    @ExcelProperty("ID")
    @ExcelIgnore
    private Long id;

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


    @ExcelProperty(value ={"就诊ID"},index = 1)
    @ColumnWidth(value = 12)
    private String patid;

    @ExcelProperty(value ={"订单编码"},index = 2)
    @ColumnWidth(value = 20)
    private String orderno;

    @ExcelProperty(value ={"患者姓名"},index = 3)
    @ColumnWidth(value = 20)
    private String name;

    @ExcelProperty(value ={"身份证"},index = 4)
    @ColumnWidth(value = 20)
    private String nationid;

    @ExcelProperty(value ={"学校名称"},index = 5)
    @ColumnWidth(value = 30)
    private String schoolName;

    @ExcelProperty(value ={"班级名称"},index = 6)
    @ColumnWidth(value = 20)
    private String className;

    @ExcelProperty(value ={"缴费状态"},index = 7, converter = DictConvert.class)
    @DictFormat(DictTypeConstants.FEE_FLAG)
    @ColumnWidth(value = 15)
    private String paystatus;

//    @ExcelProperty("套餐标识（0非套餐 1套餐 ）")
@ExcelIgnore
private Integer packageflag;

//    @ExcelProperty("套餐代码 目前只有一个基础包")
@ExcelIgnore
private String packageno;

    @ExcelProperty(value ={"标识"},index = 8, converter = DictConvert.class)
    @DictFormat(DictTypeConstants.ITEM_TYPE)
    @ColumnWidth(value = 10)
    private Integer itemflag;

    @ExcelProperty(value ={"项目代码"},index = 9)
    @ColumnWidth(value = 15)
    private String itemno;

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

    @ExcelProperty(value ={"单价"},index = 11)
    @ColumnWidth(value = 12)
    private String itemprice;

    @ExcelProperty(value ={"开单科室"},index = 12)
    @ColumnWidth(value = 20)
    private String kdksname;

    @ExcelProperty(value ={"执行科室"},index = 13)
    @ColumnWidth(value = 20)
    private String zxksname;

    @ExcelProperty(value ={"创建时间"},index = 14)
    @ColumnWidth(value = 20)
    private Date createTime;

}
