DManufacturer

data class DManufacturer(val id: String, val name: String?, val modelsDatetime: String? = null)

Entity that stores manufacturers data as a table managed by the Room database library.

Parameters

id

id of the manufacturer

name

name of the manufacturer

modelsDatetime

the datetime of the last vehicle models data update. Null if vehicle models of the manufacturer were never downloaded and saved in database.

Constructors

Link copied to clipboard
constructor(apiBrand: APIBrand)
constructor(id: String, name: String?, modelsDatetime: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
val modelsDatetime: String? = null
Link copied to clipboard
val name: String?

Functions

Link copied to clipboard

Converts a database model DManufacturer to model Manufacturer