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

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

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

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

/**
 * 病历模板Dto
 *
 * @author gaoyy
 * @date 2025-06-06
 */

@Data
@Accessors(chain = true)
public class NursingEmrTemplateDto implements Serializable {

    /** ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 模板名称 */
    @NotBlank
    private String templateName;

    /** 模板类型 */
    private String templateTypeCode;

    /** 使用范围 */
    @NotBlank
    private String useScopeCode;

    /** 使用范围文字 */
    private String useScopeCodeText;

    /** 个人/科室ID */
    private Long userId;

    /** 病历内容 */
    private String contextJson;

}
