Defined relationship between model classes