Company

data class Company(val id: Int = INT_INVALID, val name: String = EMPTY_STR)

Company is the data model for a company.

Constructors

Link copied to clipboard
constructor(id: Int = INT_INVALID, name: String = EMPTY_STR)

Properties

Link copied to clipboard
val id: Int

Int is the unique identifier.

Link copied to clipboard

String is the name of the company.