Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getType()
 {
     return $this->hasOne(TypeGoods::className(), ['id' => 'type_id']);
 }