From 0562d6f213ad15153845f23f9a1ff666bebab4bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarno=20Kiesil=C3=A4inen?= Date: Thu, 7 Aug 2025 19:27:06 +0300 Subject: [PATCH] updated readme to match the datamodel --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1936ad..347ca59 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,28 @@ ```mermaid classDiagram class Activity { + +Long id +String name +Location location - +Int priceRange + +Integer priceRange +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 ``` -