I am trying to prevent invalid "Parent ID" insertions on data saving actions in the model class, but simply got stuck on implementation.
So basic table structur