Folder

data class Folder(id: String, name: String, colour: Color, updatedAt: OffsetDateTime, createdAt: OffsetDateTime, count: Int, totals: List<Folder.CurrencyTotal>?)

See also

Constructors

Folder
Link copied to clipboard
fun Folder(id: String, name: String, colour: Color, updatedAt: OffsetDateTime, createdAt: OffsetDateTime, count: Int, totals: List<Folder.CurrencyTotal>? = null)

Types

Companion
Link copied to clipboard
object Companion
CurrencyTotal
Link copied to clipboard
data class CurrencyTotal(amount: BigDecimal, count: Int, currencyCode: String, displayAmount: String)

Functions

toDto
Link copied to clipboard
fun toDto(): FolderListItemDto

Properties

colour
Link copied to clipboard
val colour: Color
count
Link copied to clipboard
val count: Int
createdAt
Link copied to clipboard
val createdAt: OffsetDateTime
id
Link copied to clipboard
val id: String
name
Link copied to clipboard
val name: String
totals
Link copied to clipboard
val totals: List<Folder.CurrencyTotal>? = null
updatedAt
Link copied to clipboard
val updatedAt: OffsetDateTime