예제 #1
0
파일: User.php 프로젝트: aoopvn/EduSec4.0.0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEmpSectionAllots()
 {
     return $this->hasMany(EmpSectionAllot::className(), ['updated_by' => 'user_id']);
 }
예제 #2
0
파일: EmpMaster.php 프로젝트: EduSec/EduSec
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEmpSectionAllots()
 {
     return $this->hasMany(EmpSectionAllot::className(), ['emp_id' => 'emp_master_id']);
 }