Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCheckUser()
 {
     return $this->hasOne(UcenterUser::className(), ['id' => 'check_user_id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCreateUser()
 {
     return $this->hasOne(UcenterUser::className(), ['id' => 'create_user_id']);
 }