2018-11-13 21:07:24 +00:00
|
|
|
class UserType
|
|
|
|
{
|
|
|
|
firstname;
|
|
|
|
lastname;
|
|
|
|
username;
|
|
|
|
password;
|
|
|
|
}
|
|
|
|
|
|
|
|
class HomeOwner
|
|
|
|
{
|
|
|
|
isA UserType;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ServiceProvider
|
|
|
|
{
|
|
|
|
int[] availabilities;
|
|
|
|
address;
|
|
|
|
int phonenumber;
|
|
|
|
companyname;
|
|
|
|
boolean licensed;
|
2018-11-16 19:47:26 +00:00
|
|
|
description;
|
2018-11-13 21:07:24 +00:00
|
|
|
isA UserType;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Admin
|
|
|
|
{
|
|
|
|
isA UserType;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Service
|
|
|
|
{
|
|
|
|
name;
|
|
|
|
double rate;
|
|
|
|
* -- * ServiceProvider;
|
|
|
|
}
|
|
|
|
|
2018-11-16 19:47:26 +00:00
|
|
|
|
2018-11-13 21:07:24 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Service
|
|
|
|
{
|
2018-11-16 19:47:26 +00:00
|
|
|
position 854 455 112 75;
|
|
|
|
position.association Service__ServiceProvider 65,0 65,143;
|
|
|
|
}//$?[End_of_model]$?
|