/** * @return \yii\db\ActiveQuery */ public function getSysUsers0() { return $this->hasMany(SysUser::className(), ['idsys_updater' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getIdsysUser() { return $this->hasOne(SysUser::className(), ['id' => 'idsys_user']); }