예제 #1
0
파일: Dpto.php 프로젝트: godzukison/mngrApp
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['dpto_nombre' => 'nombre']);
 }
예제 #2
0
 /**
  *
  * @return \yii\db\ActiveQuery
  */
 public function getOwner0()
 {
     return $this->hasOne(Staff::className(), ['formalemail' => 'owner']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReqBy()
 {
     return $this->hasOne(Staff::className(), ['staff_id' => 'req_by']);
 }
예제 #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasOne(Staff::className(), ['formalemail' => 'staffID']);
 }
예제 #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['position_id' => 'positio_id']);
 }
예제 #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['department_id' => 'department_id']);
 }