Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Julien Jerphanion
Rex Dri
Commits
d57c17a4
Commit
d57c17a4
authored
Aug 17, 2018
by
Florent Chehab
Browse files
architecture update, need to implement
parent
f7ca479b
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/UML/core.pu
View file @
d57c17a4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment