add getMyTracks option

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-13 11:23:00 +03:00
committed by Daniel Hutzel
parent 99d4da34d7
commit a917dac1b2
5 changed files with 29 additions and 58 deletions

View File

@@ -69,6 +69,8 @@ entity Invoices {
billingCountry : String(40);
billingPostalCode : String(40);
total : Decimal(10, 2);
invoiceItems : Association to many InvoiceItems
on invoiceItems.invoice = $self;
}
entity InvoiceItems {
@@ -90,5 +92,5 @@ entity Tracks {
bytes : Integer;
unitPrice : Decimal(10, 2);
invoices : Association to many InvoiceItems
on invoices.track.ID = $self.ID
on invoices.track = $self
}