Slide 17
Slide 17 text
٧Ίସ͑Ε͑͑ͳ͍ͷ
data class Bill
(
val name: String
,
val statusHistory: List
)
data class BillStatus
(
val status: String
,
val startAt: DateTime
,
)
—————————————————————————————————————————————————————————————————
—
return BillEntity.all().map { bill -
>
Bill
(
name = bill.name
,
statusHistory = bill.statusHistory.map { status -
>
BillStatus(status = status.status.name, startAt = status.startAt
)
}
)
}