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

import app.furmeet.events.brasilfurfest.helper.Language
import java.io.Serializable

class RegistrationTier(
        val level: Int,
        val names: Map<Language, String>,
        val benefits: List<Map<Language, String>>
) : Serializable {
    fun canAttend(event: Event) = level in event.attendableBy.map { it.level }
}