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

import java.util.Date;

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

import com.openhis.common.annotation.Dict;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 医嘱列表
 *
 * @author yuxj
 * @date 2025-06-03
 */
@Data
@Accessors(chain = true)
public class InpatientMedicinePrescriptionInfoDto {

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

    /**
     * 药品发放id
     */
    private String dispenseIds;

    /**
     * 治疗类型
     */
    private Integer therapyEnum;
    private String therapyEnum_enumText;

    /**
     * 预定发药时间
     */
    private Date plannedDispenseTime;

    /**
     * 就诊id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterId;

    /**
     * 患者姓名
     */
    private String patientName;

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

    /**
     * 项目表
     */
    private String itemTable;

    /**
     * 项目id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long itemId;

    /**
     * 项目名
     */
    private String itemName;

    /**
     * 请求数量
     */
    private Integer quantity;

    /**
     * 请求单位编码
     */
    @Dict(dictCode = "unit_code")
    private String unitCode;
    private String unitCode_dictText;

    /**
     * 发放地点
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long locationId;
    /**
     * 发放地点
     */
    private String locationName;
    /**
     * 地点类型
     */
    private Integer locationEnum;
    private String locationEnum_enumText;

    /**
     * 批号
     */
    private String lotNumber;
    /**
     * 规格
     */
    private String totalVolume;
}
