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

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.openhis.common.enums.OrganizationClass;

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

/**
 * @author
 * @date 2025-02-21
 */
@Data
@Accessors(chain = true)
public class OrganizationDto {

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

    /** 编码 */
    private String busNo;

    /** 名称 */
    private String name;

    /** 活动标识 */
    private Integer activeFlag;
    private String activeFlag_dictText;

    /** 机构类型枚举 */
    private Integer typeEnum;
    private String typeEnum_dictText;

    /** 机构分类枚举 */
    private Integer classEnum;
    private String classEnum_dictText;

    /** 拼音码 */
    private String pyStr;

    /** 五笔码 */
    private String wbStr;

    /** 医保码 */
    private String ybNo;

    /** 医保名称 */
    private String ybName;

    /** 显示顺序 */
    private Integer displayOrder;

    /** 子集合 */
    private List<OrganizationDto> children = new ArrayList<>();
    
    /** 挂号科室标记 */
    private Integer registerFlag;
    
    /** 科室位置 */
    private String location;
    
    /** 科室简介 */
    private String intro;
    
    /** 备注 */
    private String remark;
}
