Exemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getScholars()
 {
     return $this->hasMany(Scholars::className(), ['scholar_school_id' => 'school_id']);
 }
Exemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getGradeScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'grade_scholar_id']);
 }
Exemplo n.º 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTuitionScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'tuition_scholar_id']);
 }
Exemplo n.º 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'uploaded_scholar_id']);
 }
Exemplo n.º 5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAllowanceScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'allowance_scholar_id']);
 }
Exemplo n.º 6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBenefitScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'benefit_scholar_id']);
 }
Exemplo n.º 7
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getJobScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'job_scholar_id']);
 }
Exemplo n.º 8
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompileScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'compile_scholar_id']);
 }
Exemplo n.º 9
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getFailScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'fail_scholar_id']);
 }
Exemplo n.º 10
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRefundScholar()
 {
     return $this->hasOne(Scholars::className(), ['scholar_id' => 'refund_scholar_id']);
 }