package io.modules.item.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 药品管理表
 *
 * @author Mark #
 * @since 1.0.0 2025-05-13
 */
@Data
@Schema(name = "药品管理表")
public class ManagementDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "药品ID")
	private Long id;

	@SchemaProperty(name = "药品名称")
	private String medicineName;

	@SchemaProperty(name = "通用名称")
	private String genericName;

	@SchemaProperty(name = "规格")
	private String specification;

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

	@SchemaProperty(name = "批号")
	private String batchNumber;

	@SchemaProperty(name = "生产日期")
	private Date productionDate;

	@SchemaProperty(name = "有效期至")
	private Date expiryDate;

	@SchemaProperty(name = "药品类别")
	private String category;

	@SchemaProperty(name = "单价")
	private BigDecimal unitPrice;

	@SchemaProperty(name = "库存数量")
	private Integer stockQuantity;

	@SchemaProperty(name = "补货警戒线")
	private Integer reorderLevel;

	@SchemaProperty(name = "储存条件")
	private String storageConditions;

	@SchemaProperty(name = "是否需要处方(0否1是)")
	private Integer prescriptionRequired;

	@SchemaProperty(name = "创建时间")
	private Date createdAt;

	@SchemaProperty(name = "更新时间")
	private Date updatedAt;


}
