package com.ruoyi.inventory.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;

/**
 * 药品档案导出VO（扁平化：档案 + 批次明细）
 */
@Data
public class HealthcareDrugArchiveExportVo {

    @Excel(name = "商品名称")
    private String medicineName;

    @Excel(name = "生产厂家")
    private String manufacturer;

    @Excel(name = "商品条码")
    private String barcode;

    @Excel(name = "是否拆分")
    private String isSplit;

    @Excel(name = "商品规格")
    private String specification;

    @Excel(name = "最小单位数量")
    private String minNumber;

    @Excel(name = "批次")
    private String batch;

    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expiryDate;

    @Excel(name = "所在库房")
    private String storeroomName;

    @Excel(name = "数量")
    private Integer boxCount;

    @Excel(name = "采购价")
    private Double retailPrice;

    @Excel(name = "最小单位价格")
    private Double minPrice;
}
