-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisao-jdl.jh
98 lines (96 loc) · 2.06 KB
/
visao-jdl.jh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
enum TypeRegion {
ESTADO, MESORREGIAO, MUNICIPIO
}
enum TypeLayer {
MARKER, CIRCLE, POLYGON, ICON
}
enum TypeCategory {
INDICATOR, FILTER, LAYER
}
entity Indicator {
value Double required
}
entity Name {
value String required,
active Boolean required,
description TextBlob,
keyWord String,
date Instant,
source String,
dateChange Instant,
note TextBlob
}
entity Category {
name String,
type TypeCategory
}
entity Region {
name String required,
uf String,
geoCode Integer required,
typeRegion TypeRegion required
}
entity Year {
date String required
}
entity MetaDado {
name String required,
value String required
}
entity Filter {
name String required,
active Boolean required,
description TextBlob,
keyWord String,
date Instant,
source String,
dateChange Instant,
note TextBlob
}
entity Layer {
name String required,
geoJson TextBlob required,
type TypeLayer required,
description TextBlob,
date Instant,
source String,
dateChange Instant,
note TextBlob
}
entity MarkerIcon {
icon ImageBlob required,
shadow ImageBlob,
iconSize String,
shadowSize String,
iconAnchor String,
shadowAnchor String,
popupAnchor String
}
entity GroupLayer {
name String required,
active Boolean required,
keyWord String
}
relationship OneToOne {
Filter{cidadePolo} to Region
}
relationship ManyToOne {
Name{category} to Category,
Filter{category} to Category,
Layer{category} to Category,
Name{user(login)} to User,
Filter{user(login)} to User,
GroupLayer{user(login)} to User,
Indicator{region} to Region,
Indicator{name} to Name,
Indicator{year} to Year,
Layer{icon} to MarkerIcon,
Layer{group} to GroupLayer
}
relationship ManyToMany {
Filter{region} to Region,
Region{relacao} to Region,
MetaDado{nome} to Name
}
paginate Indicator, Name, Category, Region, Year, MetaDado, Filter, Layer, MarkerIcon, GroupLayer with pager
filter Indicator, Name, Category, Region, Year, MetaDado, Filter, Layer, MarkerIcon, GroupLayer