package com.kcim.common.util.excel.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @program: CostAccount
 * @description: 药品字典导入模版
 * @author: Wang.YS
 * @create: 2023-11-06 20:54
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ExcelTarget("OrderImportEntity")
public class OrderImportEntity {

    @Excel(name="医嘱项目代码",width = 20)
    private String code;

    @Excel(name="医嘱项目名称",width = 20)
    private String name;

    @Excel(name="医嘱项目类型",width = 20,dict = "orderType",addressList = true)
    private String type;

    @Excel(name="收费项目代码",width = 20)
    private String itemCode;

    @Excel(name="收费项目名称",width = 20)
    private String itemName;

    @Excel(name="收费项目类别",width = 20,replace = {"药品_1","材料_2","项目_3"},addressList = true)
    private String itemType;

    @Excel(name="单位",width = 20)
    private String unit;

    @Excel(name="数量",width = 20)
    private BigDecimal num;




}
