Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEmpSectionAllots()
 {
     return $this->hasMany(EmpSectionAllot::className(), ['updated_by' => 'user_id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEmpSectionAllots()
 {
     return $this->hasMany(EmpSectionAllot::className(), ['emp_id' => 'emp_master_id']);
 }