Commit d57c17a4 authored by Florent Chehab's avatar Florent Chehab
Browse files

architecture update, need to implement

parent f7ca479b
......@@ -13,23 +13,21 @@ class City #white {
}
class Country #white {
# iso_code : string{2}
+ name : string
+ area : string
}
class Region #white {
# iso_code : string {3}
# iso_alpha2_code : string{2}
+ name : string
+ region_code : string{3}
+ region_name : string
+ sub_region_code : string{3}
+ sub_region_name : string
+ intermediate_region_code : string{3}
+ intermediate_region_name : string
}
City "*" -left-* Country
Country "*" -right- "1" Region
Region "*" -- "0..1" Region
note "Countries and Regions \n are intially hardcoded \n in the db." as N2
Region .. N2
N2 .. Country
note "Countries are intially \n hardcoded in the db." as N2
N2 .up. Country
class University #wheat {
+ name : string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment