working on wiki index

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-09-09 16:19:03 +02:00
parent 3b8e7ed258
commit 3627ccee73
7 changed files with 113 additions and 17 deletions

View File

@@ -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);
}
}