Project Revenue

@Serializable
data class ProjectRevenue(val id: String, val title: String, val value: Double, val revenueDate: Long, val initialRevenue: Revenue.RevenueImpl, val tickets: List<TicketRevenue> = emptyList()) : Revenue

The ProjectRevenue class is the represent a project revenue

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor(id: String, title: String, value: Double, revenueDate: Long, initialRevenue: Revenue.RevenueImpl, tickets: List<TicketRevenue> = emptyList())

Properties

Link copied to clipboard
open override val id: String

The identifier of the revenue

Link copied to clipboard
@SerialName(value = "initial_revenue" )
val initialRevenue: Revenue.RevenueImpl

The initial revenue of the project

Link copied to clipboard
@SerialName(value = "revenue_date" )
open override val revenueDate: Long

The date of the revenue

Link copied to clipboard

The tickets attached to the project

Link copied to clipboard
open override val title: String

The title of the revenue

Link copied to clipboard
open override val value: Double

The value of the revenue