AccessSchedule

@Serializable
data class AccessSchedule(val id: Int, val userId: UUID, val dayOfWeek: DynamicDayOfWeek, val startHour: Double, val endHour: Double)

An entity representing a user's access schedule.

Constructors

Link copied to clipboard
constructor(id: Int, userId: UUID, dayOfWeek: DynamicDayOfWeek, startHour: Double, endHour: Double)

Properties

Link copied to clipboard
@SerialName(value = "DayOfWeek")
val dayOfWeek: DynamicDayOfWeek

The day of week.

Link copied to clipboard
@SerialName(value = "EndHour")
val endHour: Double

The end hour.

Link copied to clipboard
@SerialName(value = "Id")
val id: Int

The id of this instance.

Link copied to clipboard
@SerialName(value = "StartHour")
val startHour: Double

The start hour.

Link copied to clipboard
@SerialName(value = "UserId")
val userId: UUID

The id of the associated user.