package com.openhis.web.doctorstation.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 lombok.Data;
import lombok.experimental.Accessors;

/**
 * 诊疗绑定耗材 详情dto
 */
@Data
@Accessors(chain = true)
public class ActivityBindDeviceDetailDto {

    /**
     * 用于搭配Dict切面,无实际业务意义
     */
    @Dict(dictCode = "test_field")
    private String testField;
    private String testField_dictText;

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

    /**
     * 耗材id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long deviceId;

    /** 数量 */
    private BigDecimal quantity;

    /**
     * 单位
     */
    private String unitCode;

    /** 小数量 */
    private BigDecimal minUnitCodeQuantity;

    /**
     * 小单位
     */
    private String minUnitCode;

    /**
     * 耗材详细信息
     */
    private AdviceBaseDto orderDetailInfos;

}
