working on wiki index
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package de.srsoftware.umbrella.core.model;
|
||||
|
||||
import de.srsoftware.tools.Mappable;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import static de.srsoftware.umbrella.core.Constants.ID;
|
||||
|
||||
public class WikiPage implements Mappable {
|
||||
|
||||
private final long id;
|
||||
|
||||
public WikiPage(long id){
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> toMap() {
|
||||
return Map.of(ID,id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user