package net.pokeranalytics.android.model.realm

import io.realm.RealmList
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
import java.util.*

enum class ReportDisplay {
    TABLE,
    GRAPH,
    MAP
}

open class Report : RealmObject() {

    @PrimaryKey
    var id = UUID.randomUUID().toString()

    // The name of the report
    var name: String = ""

    // The type of display of the report
    var display: Int = ReportDisplay.TABLE.ordinal

    // @todo define the configuration options

//    var comparators: List<Int> = listOf()
//    var stats: List<Int> = listOf()

    // The filters associated with the report
    var filters: RealmList<Filter> = RealmList()

}
