Work

data class Work(workId: Int, parentId: Int, companyName: String, duration: Int) : Parcelable

domain model for work properties

Constructors

Link copied to clipboard
fun Work(workId: Int = 0, parentId: Int = 0, companyName: String = "", duration: Int = 0)

Functions

Link copied to clipboard
operator fun component1(): Int
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
operator fun component3(): String
Link copied to clipboard
operator fun component4(): Int
Link copied to clipboard
fun copy(workId: Int = 0, parentId: Int = 0, companyName: String = "", duration: Int = 0): Work

Properties

Link copied to clipboard
val companyName: String
Link copied to clipboard
val duration: Int = 0
Link copied to clipboard
val parentId: Int = 0
Link copied to clipboard
val workId: Int = 0