class ObjectTypeInfo {
        @Schema(description = "类型ID")
        private String id;

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

        @Schema(description = "说明")
        private String description;

        @Schema(description = "可建立关系的其他类型ID")
        private List<String> relatable;

        public static ObjectTypeInfo of(ObjectType type, List<String> relatable) {<FILL_FUNCTION_BODY>}
    }

            ObjectTypeInfo info = new ObjectTypeInfo();
            info.setId(type.getId());
            info.setName(type.getName());
            info.setDescription(type.getDescription());
            info.setRelatable(relatable);
            return info;
        
<no_super_class>