Extra information table joined without eloquent model
问题 Say I have an database table called Item (with a name and a type). Now depending on the type, the item has extra information: e.g. if it is a ScoredItem it has a Score. So I created a database table ItemScore, which assigns a score to an item. I then have an eloquent model: Item (with the name and the type), but how should I go about adding this Score property. An obvious solution would be to create a model: ItemScore and set the correct relation (using hasMany and belongsTo). But because it