|
|
1
1
ActiveRecord关系属性具有
|
|
|
2
0
作为解决方法,我在product类中添加了getProductType()方法来检索类型。 不过,我仍然对一种可配置的方法感兴趣,可以用Castle来实现这一点:) |