Setup a self reference

Hi there, I'm fairly new here and want to do the following: I have an entity with some attributes: attID att2 att3 attparent_ID this entity can have a reference to another one of the same entity, creating a parent child relationship. 1 parent multiple children. Does anyone have an example or an explanation on the best way how to set this up. How do I link the att_ID if one of the entries to another creating a parent child realationship thank you in advance
1 answers

In the domain model draw an association from your entity to your entity to create the self-reference.