/** * @return \yii\db\ActiveQuery */ public function getSubjectAllocates() { return $this->hasMany(SubjectAllocate::className(), ['updated_by' => 'user_id']); }
/** * @return \yii\db\ActiveQuery */ public function getSubjectAllocates() { return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_batch_id' => 'batch_id']); }
/** * @return \yii\db\ActiveQuery */ public function getSubjectAllocates() { return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_emp_id' => 'emp_master_id']); }