/** * @return \yii\db\ActiveQuery */ public function getCOS() { return $this->hasOne(Cos::className(), ['id' => 'COS']); }