You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
909 B
Plaintext

2 years ago
node Job {
2 years ago
*id: Int,
title: Text,
2 years ago
min_salary: Float,
max_salary: Float
}
2 years ago
node Employee {
2 years ago
*id: Int,
first_name: Text,
last_name: Text,
email: Text,
phone_number: ?Text
2 years ago
}
2 years ago
node Dependent {
2 years ago
*id: Int,
first_name: Text,
last_name: Text
2 years ago
}
2 years ago
node Department {
2 years ago
*id: Int,
name: Text
2 years ago
}
2 years ago
node Location {
2 years ago
*id: Int,
street_address: Text,
postal_code: ?Text,
city: Text,
state_province: ?Text
2 years ago
}
2 years ago
node Country {
*id: Text,
name: Text
2 years ago
}
2 years ago
node Region {
2 years ago
*id: Int,
name: Text
2 years ago
}
2 years ago
edge (Employee)-[HasJob]->(Job) {
2 years ago
salary: Float,
hire_date: Text
2 years ago
}
2 years ago
edge (Employee)-[InDepartment]->(Department);
2 years ago
2 years ago
edge (Employee)-[Manages]->(Employee);
2 years ago
2 years ago
edge (Employee)-[HasDependent]->(Dependent) {
relationship: Text
2 years ago
}
2 years ago
edge (Department)-[InLocation]->(Location);
2 years ago
2 years ago
edge (Location)-[InCountry]->(Country);
2 years ago
2 years ago
edge (Country)-[InRegion]->(Region);