/** * @return \yii\db\ActiveQuery */ public function getInspections() { return $this->hasMany(Inspections::className(), ['C_ID' => 'C_ID']); }