package com.chinaweal.aiccs.org.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * IMS机构同步DTO
 * 用于接收吉大正元IMS推送的机构数据
 *
 * @author aiccs
 * @since 2026-03-23
 */
@Data
@ApiModel(description = "IMS机构同步DTO")
public class ImsOrgDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作类型: add-新增/修改, delete-删除, test-测试连接")
    private String type;

    @ApiModelProperty(value = "机构编码")
    private String code;

    @ApiModelProperty(value = "地区编码")
    private String areacode;

    @ApiModelProperty(value = "机构层级")
    private String pr;

    @ApiModelProperty(value = "机构名称")
    private String name;

    @ApiModelProperty(value = "上级机构")
    private String parent;

    @ApiModelProperty(value = "机构状态")
    private String orgstate;

    @ApiModelProperty(value = "是否是部门")
    private String isDepart;

    @ApiModelProperty(value = "统一社会信用代码")
    private String id;

    @ApiModelProperty(value = "上级机构编码")
    private String parentcode;

    @ApiModelProperty(value = "局规")
    private String rb;

    @ApiModelProperty(value = "通讯地址")
    private String ca;
}
