-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preliminary version of features and entities model
- Loading branch information
Showing
3 changed files
with
55 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,45 @@ | ||
@startuml | ||
|
||
class User extends UriEntity implements UserDetails { | ||
username : String | ||
password : String | ||
email : String | ||
username : String | ||
password : String | ||
email : String | ||
} | ||
|
||
class UriEntity { | ||
uri : String | ||
uri : String | ||
} | ||
|
||
User "1" --right-- "*" Resource : owner < | ||
class Admin extends User {} | ||
class Student extends User {} | ||
class Owner extends User {} | ||
|
||
class Property extends UriEntity { | ||
description : String | ||
} | ||
|
||
class Apartment extends Property { | ||
street : String | ||
number : String | ||
city : String | ||
} | ||
Owner "1" --up-- "*" Apartment : owner < | ||
|
||
class Room extends Property { | ||
} | ||
Apartment "1" --left-- "*" Room : in < | ||
|
||
class Advertisement extends UriEntity { | ||
title : String | ||
description : String | ||
price : Double | ||
} | ||
Property "1" --right-- "*" Advertisement : about < | ||
|
||
class Visit extends UriEntity { | ||
when : ZonedDateTime | ||
} | ||
Advertisement "1" --right-- "*" Visit : for < | ||
Student "1" --left-- "*" Visit : visitor < | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters