toggle menu
app
androidJvm
switch theme
search in API
app
/
com.pieterbommele.dunkbuzz.data.database.Match
/
DbMatch
Db
Match
data
class
DbMatch
(
val
id
:
Int
,
val
date
:
String
,
val
homeTeam
:
DbTeam
,
val
homeTeamScore
:
Int
,
val
period
:
Int
,
val
postseason
:
Boolean
,
val
season
:
Int
,
val
status
:
String
,
val
time
:
String
,
val
visitorTeam
:
DbTeam
,
val
visitorTeamScore
:
Int
)
Members
Members & Extensions
Constructors
Db
Match
Link copied to clipboard
constructor
(
id
:
Int
,
date
:
String
,
homeTeam
:
DbTeam
,
homeTeamScore
:
Int
,
period
:
Int
,
postseason
:
Boolean
,
season
:
Int
,
status
:
String
,
time
:
String
,
visitorTeam
:
DbTeam
,
visitorTeamScore
:
Int
)
Properties
date
Link copied to clipboard
val
date
:
String
home
Team
Link copied to clipboard
val
homeTeam
:
DbTeam
home
Team
Score
Link copied to clipboard
val
homeTeamScore
:
Int
id
Link copied to clipboard
val
id
:
Int
period
Link copied to clipboard
val
period
:
Int
postseason
Link copied to clipboard
val
postseason
:
Boolean
season
Link copied to clipboard
val
season
:
Int
status
Link copied to clipboard
val
status
:
String
time
Link copied to clipboard
val
time
:
String
visitor
Team
Link copied to clipboard
val
visitorTeam
:
DbTeam
visitor
Team
Score
Link copied to clipboard
val
visitorTeamScore
:
Int
Functions
as
Domain
Match
Link copied to clipboard
fun
DbMatch
.
asDomainMatch
(
)
:
Match
Converts a
DbMatch
instance to a domain model
Match
.