|
|
|
|
@ -2,9 +2,10 @@ package app.padelclub.data |
|
|
|
|
|
|
|
|
|
import app.padelclub.lestorage.StoreCenter |
|
|
|
|
import app.padelclub.lestorage.ModelObject |
|
|
|
|
import kotlinx.serialization.Serializable |
|
|
|
|
|
|
|
|
|
class Session: ModelObject() { |
|
|
|
|
|
|
|
|
|
val id: String = StoreCenter.uuidString() |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
@Serializable |
|
|
|
|
class Session( |
|
|
|
|
override val id: String = StoreCenter.uuidString(), |
|
|
|
|
var name: String = "hello" |
|
|
|
|
): ModelObject() |