InstitutionSearchDoc.kt 714 Bytes
Newer Older
1
2
3
4
5
6
7
8
package org.memobase.model

import com.fasterxml.jackson.annotation.JsonInclude

@JsonInclude(JsonInclude.Include.NON_EMPTY)
data class InstitutionSearchDoc(
    val institutionId: String,
    val published: Boolean,
9

10
11
    // Full Text Search
    val name: LanguageContainer,
12
13
14
15
    val description: LanguageContainer,
    val city: List<LanguageContainer>,
    val address: List<String>,
    val postalCodes: List<String>,
16
17

    // Facettes
18
    val canton: List<LanguageContainer>,
19
20
21
22
23
24
25
26
    val type: List<LanguageContainer>,
    val documentType: List<LanguageContainer>,

    // Search Result Display
    val keyVisualLink: String,
    val numberOfRecordSets: Int,
    val numberOfDocuments: Int
) : Schema(institutionId)