InstitutionSearchDoc.kt 568 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
package org.memobase.model

import com.fasterxml.jackson.annotation.JsonInclude

@JsonInclude(JsonInclude.Include.NON_EMPTY)
data class InstitutionSearchDoc(
    val institutionId: String,
    val published: Boolean,
    // Full Text Search
    val name: LanguageContainer,

    // Facettes
13
    val canton: List<LanguageContainer>,
14
15
16
17
18
19
20
21
    val type: List<LanguageContainer>,
    val documentType: List<LanguageContainer>,

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