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:
@@ -4,6 +4,6 @@ dependencies {
|
||||
implementation(project(":de.srsoftware.cal.api"))
|
||||
|
||||
implementation("de.srsoftware:tools.optionals:1.0.0")
|
||||
implementation("de.srsoftware:tools.util:1.2.0")
|
||||
implementation("de.srsoftware:tools.util:1.2.1")
|
||||
implementation("de.srsoftware:tools.web:1.3.4")
|
||||
}
|
||||
|
||||
@@ -33,10 +33,10 @@ public class BaseAppointment implements Appointment {
|
||||
* @param end set the end date
|
||||
* @param location set the location
|
||||
*/
|
||||
public BaseAppointment(long id, String title, String description, LocalDateTime start, LocalDateTime end, String location, String hash) {
|
||||
public BaseAppointment(long id, String title, String description, LocalDateTime start, LocalDateTime end, String location, String slug) {
|
||||
this.description = description;
|
||||
this.end = end;
|
||||
this.hash = hash;
|
||||
this.hash = slug;
|
||||
this.id = id;
|
||||
this.location = location;
|
||||
this.start = start;
|
||||
@@ -134,7 +134,7 @@ public class BaseAppointment implements Appointment {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String hash() {
|
||||
public String slug() {
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user