entity_id/entity_typeterminology/pattern?

entity_id/entity_type terminology/pattern?

是否有像这样的模式的名称或模式:

movies
======
id

series
======
id


assets
======
entity_type  (i.e. 'movies' or 'series')
entity_id    (the id of either the movie or series record)
...

我不是在问这是好主意还是坏主意 - 只是问它是否有名称 and/or 关联模式。

谢谢!

是的,它被称为多态关联。