Create a clas to represent many-to-one relations.