Event

data class Event(val name: String, val date: Date, val status: Boolean)

Data class for an event

Parameters

name

String — name of the event

date

Date — date of the event (ISO 8601)

status

Boolean — status of the event that occurred

Constructors

Link copied to clipboard
constructor(name: String, date: Date, status: Boolean)

Properties

Link copied to clipboard
val date: Date
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var uid: Int