Beispiel #1
0
 public function getGoods()
 {
     return $this->hasMany(Good::className(), ['category_id' => 'id']);
 }