示例#1
0
文件: Section.php 项目: EduSec/EduSec
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSectionBatch()
 {
     return $this->hasOne(Batches::className(), ['batch_id' => 'section_batch_id']);
 }
示例#2
0
 public function getRelBatchData()
 {
     return $this->hasOne(\app\modules\course\models\Batches::className(), ['batch_id' => 'fees_pay_tran_batch_id']);
 }
示例#3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStuMasterBatch()
 {
     return $this->hasOne(\app\modules\course\models\Batches::className(), ['batch_id' => 'stu_master_batch_id']);
 }
示例#4
0
 public function getFeesCollectBatch()
 {
     return $this->hasOne(Batches::className(), ['batch_id' => 'fees_collect_batch_id']);
 }
示例#5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBatches()
 {
     return $this->hasMany(Batches::className(), ['batch_course_id' => 'course_id']);
 }