package app.furmeet.events.system.schedule.abstractDataTypes.convention

import app.furmeet.events.system.helper.Language
import app.furmeet.events.system.schedule.abstractDataTypes.GregorianCalendarRange
import java.io.Serializable

class Event(
        val uuid: String,
        val conbookId: String,
        val conbookPages: List<Int>,
        val titles: Map<Language, String>,
        val subtitles: Map<Language, String>,
        val descriptions: Map<Language, String>,
        val timeRange: GregorianCalendarRange,
        val places: List<Place>,
        val attendableBy: List<RegistrationTier>,
        val tags: List<Tag>,
        val language: Language?,
        val hiddenFromTimeTable: Boolean,
        val assetImage: Map<Language, String>?
) : Serializable {
    val isCustom: Boolean get() = conbookId.isEmpty()
}