package com.zhyc.module.biosafety.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zhyc.common.annotation.Excel;
import com.zhyc.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 药品使用记录详情对象 sw_medicine_usage_details
 * 
 * @author ruoyi
 * @date 2025-07-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SwMedicineUsageDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 药品使用记录id */
//    @Excel(name = "药品使用记录id")
    private Integer mediUsage;

    /** 药品id */
//    @Excel(name = "药品id")
    private Long mediId;

/** 药品名称*/
    @Excel(name = "药品名称",cellType = Excel.ColumnType.STRING)
    private String mediName;

    /** 用量 */
    @Excel(name = "用量",cellType = Excel.ColumnType.STRING)
    private String dosage;

    /** 单位 */
    @Excel(name = "单位",cellType = Excel.ColumnType.STRING)
    private String unit;

    /** 使用方法 */
    @Excel(name = "使用方法",cellType = Excel.ColumnType.STRING)
    private String usageId;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date usetime;

    /** 生产厂家 */
    @Excel(name = "生产厂家",cellType = Excel.ColumnType.STRING)
    private String manufacturer;

    /** 生产批号 */
    @Excel(name = "生产批号",cellType = Excel.ColumnType.STRING)
    private String batchNumber;

}
