Пример #1
0
 public function getCarType()
 {
     return $this->hasOne(CarType::className(), ['id' => 'type_id']);
 }