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

import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.openhis.common.annotation.Dict;
import com.openhis.web.doctorstation.dto.AdviceBaseDto;

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

/**
 * 组合套餐明细查询 dto
 *
 * @author zwh
 * @date 2025-04-09
 */
@Data
@Accessors(chain = true)
public class OrdersGroupPackageDetailQueryDto {

    /**
     * 组合套餐id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long groupPackageId;

    /**
     * 医嘱定义id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderDefinitionId;

    /**
     * 医嘱定义表名
     */
    private String orderDefinitionTable;

    /**
     * 数量
     */
    private BigDecimal quantity;

    /**
     * 单位
     */
    @Dict(dictCode = "unit_code")
    private String unitCode;
    private String unitCode_dictText;
    private String unitCodeName;

    /** 单次剂量 */
    private BigDecimal dose;

    /** 用药频次 */
    @Dict(dictCode = "rate_code")
    private String rateCode;
    private String rateCode_dictText;

    /** 用药天数 */
    private Integer dispensePerDuration;

    /** 给药途径 */
    @Dict(dictCode = "method_code")
    private String methodCode;
    private String methodCode_dictText;

    /**
     * 小单位单次剂量
     */
    private BigDecimal doseQuantity;

    /**
     * 医嘱名称
     */
    private String orderDefinitionName;

    /**
     * 医嘱详细信息
     */
    private AdviceBaseDto orderDetailInfos;

    /**
     * 组号
     */
    private Long groupId;


}
