created preset item

main
Said Gedik 2023-10-06 15:15:51 +02:00
parent 5be608e17a
commit 59bdc95c3e
3 changed files with 54 additions and 0 deletions

View File

@ -294,6 +294,14 @@ public class KalenderRestController {
return implementer.get(request);
}
@CrossOrigin("*")
@GetMapping("api/initPresets")
@ResponseBody
public Object initPresets() {
return null;
}
/**
* Logs the received request with the endpoint and request body.
*

View File

@ -0,0 +1,41 @@
package com.nttdata.calender.presets;
public class Preset {
private String id;
private String name;
private String definition;
private String presetType;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDefinition() {
return this.definition;
}
public void setDefinition(String definition) {
this.definition = definition;
}
public String getPresetType() {
return this.presetType;
}
public void setPresetType(String presetType) {
this.presetType = presetType;
}
}

View File

@ -0,0 +1,5 @@
package com.nttdata.calender.presets;
public class Presets {
}