RouteStatusHistory

data class RouteStatusHistory(val routeUid: String, val statusName: String, val statusType: String, val remarks: String? = null, val changedByUid: String? = null, val changedBy: User? = null, val changedAt: String, val latitude: Double? = null, val longitude: Double? = null, val isOffline: Boolean = false, val syncedAt: String? = null)

Domain model representing route status history.

Constructors

Link copied to clipboard
constructor(routeUid: String, statusName: String, statusType: String, remarks: String? = null, changedByUid: String? = null, changedBy: User? = null, changedAt: String, latitude: Double? = null, longitude: Double? = null, isOffline: Boolean = false, syncedAt: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val changedBy: User? = null
Link copied to clipboard

Get display name for who made the change.

Link copied to clipboard
val changedByUid: String? = null
Link copied to clipboard

Get location coordinates.

Link copied to clipboard

Check if status change has location.

Link copied to clipboard

Check if status change has remarks.

Link copied to clipboard
val isOffline: Boolean = false
Link copied to clipboard
val latitude: Double? = null
Link copied to clipboard
val longitude: Double? = null
Link copied to clipboard
val remarks: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val syncedAt: String? = null