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