示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['updated_by' => 'user_id']);
 }
示例#2
0
文件: Batches.php 项目: anazhd/EduSec
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_batch_id' => 'batch_id']);
 }
示例#3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_emp_id' => 'emp_master_id']);
 }