package com.openhis.web.regdoctorstation.dto;

import java.util.List;

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

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

/**
 * 申请单保存dto
 */
@Data
@Accessors(chain = true)
public class RequestFormSaveDto {

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

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

    /**
     * 患者挂号对应的科室id 或 住院科室id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long organizationId;

    /**
     * 申请单ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long requestFormId;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述内容
     */
    private String descJson;

    /**
     * 请求类型
     */
    private Integer categoryEnum;

    /**
     * 诊疗参数集合
     */
    private List<ActivitySaveDto> activityList;

}
