[haiyang] add one to one, one to many, many to one configuration