package com.gxwebsoft.clinic.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 药品库存查询参数
 *
 * @author 科技小王子
 * @since 2025-10-22 02:06:32
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ClinicMedicineStockParam对象", description = "药品库存查询参数")
public class ClinicMedicineStockParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "药品")
    @QueryField(type = QueryType.EQ)
    private Integer medicineId;

    @Schema(description = "库存数量")
    @QueryField(type = QueryType.EQ)
    private Integer stockQuantity;

    @Schema(description = "最小库存预警")
    @QueryField(type = QueryType.EQ)
    private Integer minStockLevel;

    @Schema(description = "上次更新时间")
    private String lastUpdated;

    @Schema(description = "买家用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "备注")
    private String comments;

}
