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("EquipmentImportEntity")
public class EquipmentImportEntity {

    @Excel(name="设备编码",width = 20)
    private String code;

    @Excel(name="设备名称",width = 20)
    private String name;

    @Excel(name="设备型号",width = 20)
    private String type;

    @Excel(name="折旧年限(年)",width = 20)
    private BigDecimal depreciationYear;
    @Excel(name="采购价格(元)",width = 20)
    private BigDecimal price;

    @Excel(name="停用",width = 20,replace = {"启用_0","停用_1"},addressList = true)
    private Integer status;

    @Excel(name="停用时间",width = 20)
    private Date stopTime;



}
