forked from SteamWar/SteamWar
@@ -94,7 +94,7 @@ class NodeMember(id: EntityID<CompositeID>) : CompositeEntity(id) {
|
|||||||
{ Optional.ofNullable(it?.value) })
|
{ Optional.ofNullable(it?.value) })
|
||||||
private set
|
private set
|
||||||
|
|
||||||
fun setParentId(id: Int?) {
|
fun setParentId(id: Int?) = useDb {
|
||||||
parent = Optional.ofNullable(id)
|
parent = Optional.ofNullable(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user