[Model] create the domain classes linked to post