package com.zhongshu.card.client.model.org;

import com.zhongshu.card.client.type.OrganizationRelationType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author TRX
 * @date 2024/6/11
 */
@Data
public class OrganizationRelationSearch {

    @Schema(description = "项目oid")
    private String projectOid;

    @Schema(description = "项目Oid", hidden = true)
    private String mainOid;

    @Schema(description = "主ID", hidden = true)
    private String mainId;

    @Schema(description = "主名称")
    private String mainName;

    @Schema(description = "关联的Oid", hidden = true)
    private String relOid;

    @Schema(description = "关联的名称")
    private String relName;

    @Schema(description = "关联的id", hidden = true)
    private String relId;

    @Schema(description = "绑定关联类型")
    private OrganizationRelationType relationType;

    private List<String> oids = new ArrayList<>();
}
