/*
 * 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;

/**
 * 汇总单dto
 *
 * @author zwh
 * @date 2025-06-03
 */
@Data
@Accessors(chain = true)
public class MedicineSummaryFormDto {

    /** 汇总单号 */
    private String busNo;

    /** 汇总人id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long applicantId;

    /** 汇总人 */
    private String applicantName;

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

    /** 领药人 */
    private String receiverName;

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

    /** 发放状态 */
    private Integer statusEnum;
    private String statusEnum_enumText;

    /** 发放药房 */
    private String locationName;

    /** 发放时间 */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String dispenseTime;
}
