-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProjectUML.ump
More file actions
93 lines (80 loc) · 1.23 KB
/
ProjectUML.ump
File metadata and controls
93 lines (80 loc) · 1.23 KB
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
class UserType
{
firstname;
lastname;
username;
salt;
hash;
}
class HomeOwner
{
isA UserType;
}
class ServiceProvider
{
int[] availabilities;
address;
int phonenumber;
companyname;
boolean licensed;
description;
isA UserType;
}
class Admin
{
isA UserType;
1 -- * Service;
}
class Service
{
name;
double rate;
* -- * ServiceProvider;
}
class Booking
{
int starth;
int startmin;
int endh;
int endmin;
int day;
int month;
int year;
status;
int rating;
comment;
* -- 1 HomeOwner;
* -- 1 ServiceProvider;
* -- 1 Service;
}
class UserType
{
position 475 69 141 109;
}
class HomeOwner
{
position 109 233 109 41;
}
class ServiceProvider
{
position 849 239 173 126;
}
class Admin
{
position 490 236 109 41;
position.association Admin__Service 66,41 0,52;
position.association Admin__Service:create 109,28 0,60;
position.association Admin__Service:creates 109,16 0,28;
}
class Service
{
position 849 474 112 75;
position.association Service__ServiceProvider 65,0 65,143;
}
class Booking
{
position 99 433 178 194;
position.association Booking__HomeOwner 62,0 54,41;
position.association Booking__ServiceProvider 178,50 0,94;
position.association Booking__Service 178,120 0,68;
}