replaced appointment.hash by appointment.slug, incooperated slug column into appointments table

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-12-23 01:00:00 +01:00
parent 43e4c5d84c
commit f97febad05
9 changed files with 62 additions and 48 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
description = "OpenCloudCal : API"
dependencies {
implementation("de.srsoftware:tools.util:1.1.1")
implementation("de.srsoftware:tools.util:1.2.1")
}
@@ -34,12 +34,6 @@ public interface Appointment {
*/
Optional<LocalDateTime> end();
/**
* create a unique identifier based on the event content
* @return
*/
String hash();
/**
* ID of the appointment unique within this system
* @return the appointment`s id
@@ -53,6 +47,12 @@ public interface Appointment {
*/
String location();
/**
* create a unique identifier based on the event content
* @return the slug
*/
String slug();
/**
* The date and time, when the appointment starts
* @return the start time as LocalDateTime