add the relation between father class and son class