add cli tool

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-01 01:08:02 +03:00
committed by Daniel Hutzel
parent e33a455154
commit e7be207911
5 changed files with 136 additions and 14 deletions

View File

@@ -6,8 +6,9 @@ aspect NamedEntityAspect {
}
aspect ContactInfoAspect {
firstName : String(40);
key ID : Integer;
lastName : String(20);
firstName : String(40);
city : String(40);
state : String(40);
adress : String(70);
@@ -35,18 +36,51 @@ entity Albums {
artist : Association to Artists;
}
entity Employees : ContactInfoAspect {
key ID : Integer;
reportsTo : Association to Employees;
title : String(20);
birthDate : DateTime;
hireDate : DateTime;
// entity Employees : ContactInfoAspect {
// reportsTo : Association to Employees;
// title : String(20);
// birthDate : DateTime;
// hireDate : DateTime;
// }
// entity Customers : ContactInfoAspect {
// company : String(80);
// supportRep : Association to Employees;
// }
// keep columns order for importing data
entity Employees {
key ID : Integer;
lastName : String(20);
firstName : String(40);
title : String(20);
reportsTo : Association to Employees;
birthDate : DateTime;
hireDate : DateTime;
adress : String(70);
city : String(40);
state : String(40);
country : String(40);
postalCode : String(10);
phone : String(24);
fax : String(24);
email : String(60);
}
entity Customers : ContactInfoAspect {
key ID : Integer;
company : String(80);
supportRepId : Association to Employees;
entity Customers {
key ID : Integer;
firstName : String(40);
lastName : String(20);
company : String(80);
adress : String(70);
city : String(40);
state : String(40);
country : String(40);
postalCode : String(10);
phone : String(24);
fax : String(24);
email : String(60);
supportRep : Association to Employees;
}
entity Invoices {