/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.inhospitalnursestation.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 药品汇总参数
 *
 * @author zwh
 * @date 2025-10-21
 */
@Data
@Accessors(chain = true)
public class MedicineSummaryParam {

    /**
     * 领药时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dispenseTime;

    /**
     * 发放id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dispenseId;

    /**
     * 执行id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long procedureId;

    /**
     * 发放状态
     */
    private Integer dispenseStatus;

    /**
     * 领药人id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long receiverId;
}
