updated readme to match the datamodel
All checks were successful
Backend CI / Run Maven Tests (pull_request) Successful in 29s
All checks were successful
Backend CI / Run Maven Tests (pull_request) Successful in 29s
This commit is contained in:
22
README.md
22
README.md
@@ -5,10 +5,28 @@
|
|||||||
```mermaid
|
```mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
class Activity {
|
class Activity {
|
||||||
|
+Long id
|
||||||
+String name
|
+String name
|
||||||
+Location location
|
+Location location
|
||||||
+Int priceRange
|
+Integer priceRange
|
||||||
+List~String~ tags
|
+List~String~ tags
|
||||||
|
+String description
|
||||||
|
+LocalDateTime createdAt
|
||||||
|
+LocalDateTime updatedAt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Location {
|
||||||
|
+Long id
|
||||||
|
+String name
|
||||||
|
+String address
|
||||||
|
+String city
|
||||||
|
+String country
|
||||||
|
+String postalCode
|
||||||
|
+Double latitude
|
||||||
|
+Double longitude
|
||||||
|
+LocalDateTime createdAt
|
||||||
|
+LocalDateTime updatedAt
|
||||||
|
}
|
||||||
|
|
||||||
|
Activity <-- Location : belongs to
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user