data class Invoice : Document<Invoices>, Numbered
data class DigitalJob : TypedJob |
|
interface Job |
|
data class OffsetJob : TypedJob |
|
data class OtherJob : Job |
|
data class PlateJob : TypedJob |
|
interface TypedJob : Job |
Invoice(no: Int, employeeId: Id<String, Employees>, customerId: Id<String, Customers>, dateTime: DateTime, offsetJobs: List<OffsetJob>, digitalJobs: List<DigitalJob>, plateJobs: List<PlateJob>, otherJobs: List<OtherJob>, note: String, printed: Boolean, isPaid: Boolean, isDone: Boolean) |
val customerId: Id<String, Customers> |
|
val dateTime: DateTime |
|
var digitalJobs: List<DigitalJob> |
|
val employeeId: Id<String, Employees> |
|
lateinit var id: Id<String, Invoices>
NoSQL object identifier. |
|
val isDone: Boolean |
|
val isPaid: Boolean |
|
val jobs: List<Job> |
|
val no: Int
Since |
|
var note: String |
|
var offsetJobs: List<OffsetJob> |
|
var otherJobs: List<OtherJob> |
|
var plateJobs: List<PlateJob> |
|
val printed: Boolean |
|
val total: Double |
fun new(employeeId: Id<String, Employees>, customerId: Id<String, Customers>, dateTime: DateTime, offsetJobs: List<OffsetJob>, digitalJobs: List<DigitalJob>, plateJobs: List<PlateJob>, otherJobs: List<OtherJob>, note: String): Invoice |
|
fun no(resources: Resources, no: Number?): String? |