package com.ruoyi.os.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
 *
 *  @author 何顺
 *  @date 2024-09-17
 */
@Data
@TableName("healthcare_drug_filing")
public class DrugFiling {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long archiveId;
    private Long storeroomId;
    private String medicineCode;
    private String batch;
    private Integer boxCount;
    private String inventoryUnit;
    private Integer packCount;
    private BigDecimal retailPrice;
    private BigDecimal minPrice;
    private String createBy;
    private String updateBy;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date expiryDate;

    @TableField(exist = false)
    private String storeroomName;
    @TableField(exist = false)
    private String medicineName;
}