ZnDraw
ZnDraw copied to clipboard
Create base data class for data transfer objects
Could we have a base data class which always contains a token? I see that some objects have a token, some sid but never both. Maybe we could just call it `token` in general? Although that could lead to more confusion as well
Originally posted by @RokasEl in https://github.com/zincware/ZnDraw/pull/367#discussion_r1466423568
Possibly we would also want a custom __contains__ method for the class