Revenue Label

@Serializable
data class RevenueLabel(val id: String = Uuid.random().toHexString(), val text: String, val color: String)

The RevenueLabel class is useful to represent a label attachable to a GeneralRevenue

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(id: String = Uuid.random().toHexString(), text: String, color: String)

Properties

Link copied to clipboard
@SerialName(value = "color" )
val color: String

The color of the label

Link copied to clipboard
val id: String

The identifier of the label

Link copied to clipboard
@SerialName(value = "text" )
val text: String

The text of the label