add tests. add to many associations

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-03 21:16:46 +03:00
committed by Daniel Hutzel
parent e58ad84a2f
commit 4783a5729d
7 changed files with 468 additions and 17 deletions

View File

@@ -34,18 +34,24 @@ entity Albums {
key ID : Integer;
title : String(120);
artist : Association to Artists;
tracks : Association to many Tracks
on tracks.album = $self;
}
entity Employees : Persone {
reportsTo : Association to Employees;
title : String(20);
birthDate : DateTime;
hireDate : DateTime;
reportsTo : Association to Employees;
title : String(20);
birthDate : DateTime;
hireDate : DateTime;
subordinates : Association to many Employees
on subordinates.reportsTo = $self;
}
entity Customers : Persone {
company : String(80);
supportRep : Association to Employees;
invoices : Association to many Invoices
on invoices.customer = $self;
}
entity Invoices {