created preset item
parent
5be608e17a
commit
59bdc95c3e
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package com.nttdata.calender.presets;
|
||||
|
||||
public class Presets {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue