TableInfo

data class TableInfo(val tableNumber: Int, val numberOfGuests: Int)

Represents information about a table in a restaurant.

Constructors

Link copied to clipboard
constructor(tableNumber: Int, numberOfGuests: Int)

Properties

Link copied to clipboard

The number of guests seated at the table.

Link copied to clipboard

The number of the table.