/** * @return \yii\db\ActiveQuery */ public function getServiceUnits() { return $this->hasMany(CsServiceUnits::className(), ['unit_id' => 'id']); }