RecordEntity

@Serializable
data class RecordEntity(val deviceCharacteristicLinkId: Long, val timestamp: LocalDateTime, val value: String, var isSynchronized: Boolean = false) : BasicEntity

Constructors

Link copied to clipboard
constructor(deviceCharacteristicLinkId: Long, timestamp: LocalDateTime, value: String, isSynchronized: Boolean = false)

Functions

Properties

Link copied to clipboard
var id: Long?

Autogenerated id, null by default

Link copied to clipboard

flag that defines if the data was sent to MQTT broker or not

Link copied to clipboard
val timestamp: LocalDateTime

LocalDateTime of record

Link copied to clipboard

received value