package com.openhis.web.doctorstation.dto;

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

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

/**
 * 诊疗子项参数类
 */
@Data
@Accessors(chain = true)
public class ActivityChildrenJsonParams {

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

    /** 患者 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long patientId;

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

    /**
     * 账户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long accountId;

    /**
     * 费用项id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long chargeItemId;

    /**
     * 诊疗子项对应的上级ServiceRequestId
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

}
