-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add relation attributes & use double lines for required instead of ch…
…anging arrow lines
- Loading branch information
Jesse Hoobergs
committed
Sep 19, 2021
1 parent
05080a1
commit dcd8259
Showing
6 changed files
with
102 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
entity Elephant | ||
attribute name | ||
attribute age | ||
attribute gender | ||
|
||
entity Food | ||
attribute name | ||
|
||
entity Vendor | ||
attribute name | ||
|
||
entity Vaccination | ||
attribute name | ||
|
||
relation Sells | ||
multiple required Food | ||
multiple optional Vendor | ||
|
||
relation Mother(Is mother of) | ||
one required Elephant | ||
multiple optional Elephant | ||
|
||
relation Eats | ||
multiple required Elephant | ||
one required Food | ||
|
||
relation Shot(Got vaccin) | ||
multiple optional Elephant | ||
multiple optional Vaccination | ||
attribute date |