/** * @return \yii\db\ActiveQuery */ public function getEmpSectionAllots() { return $this->hasMany(EmpSectionAllot::className(), ['updated_by' => 'user_id']); }
/** * @return \yii\db\ActiveQuery */ public function getEmpSectionAllots() { return $this->hasMany(EmpSectionAllot::className(), ['emp_id' => 'emp_master_id']); }