/** * @return \yii\db\ActiveQuery */ public function getGroup() { return $this->hasOne(CostCenter::className(), ['id' => 'group_Id']); }
/** * @return \yii\db\ActiveQuery */ public function getCostCenter() { return $this->hasOne(CostCenter::className(), ['id' => 'cost_center_id']); }