PHP 7.4.33
Preview: EventUser.php Size: 2.36 KB
/var/www/multi-event-cfp.bitkit.dk/httpdocs/app/Models/EventUser.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Casts\AsArrayObject;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\Pivot;
use Spatie\Permission\Traits\HasRoles;

/**
 * @property mixed $event_profile_data
 * @property mixed $confirmed_speaker
 * @property mixed $speaker_added_via
 * @property mixed $id
 * @property mixed $agreement_details
 * @property mixed $agreement_status
 * @property User $user
 * @property boolean $developer_options
 * @property boolean $all_user_api_access
 * @property boolean $user_export_access
 * @property boolean $abstract_export_access
 * @property boolean $presentation_files_download_access
 */
class EventUser extends Pivot
{
    use HasFactory, HasRoles;

    protected $table = 'event_user';

    protected $guard_name = 'web';

    /**
     * @var bool
     */
    public $incrementing = true;

    protected $fillable = [
        'event_profile_data',
        'confirmed_speaker',
        'speaker_added_via',
        'agreement_status',
        'agreement_details',
        'developer_options',
        'all_user_api_access',
        'user_export_access',
        'abstract_export_access',
        'presentation_files_download_access',
        'verification_data',
        'verified_data',
        'verification_status',
        'verification_date',
        'type',
        'verified_by',
        'previously_verified_data',
        'access_level',
        'vip_categories'
    ];

    protected $casts = [
        'event_profile_data' => 'json',
        'verification_data' => 'json',
        'verified_data' => AsArrayObject::class,
        'confirmed_speaker' => 'boolean',
        'developer_options' => 'boolean',
        'all_user_api_access' => 'boolean',
        'user_export_access' => 'boolean',
        'abstract_export_access' => 'boolean',
        'presentation_files_download_access' => 'boolean',
        'verification_status' => 'boolean',
        'agreement_details' => AsArrayObject::class,
        'previously_verified_data' => 'array',
        'vip_categories' => 'array',
    ];


    public function event()
    {
        return $this->belongsTo(Event::class);
    }

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}

Directory Contents

Dirs: 0 × Files: 26
Name Size Perms Modified Actions
2.71 KB lrw-r--r-- 2024-02-09 12:37:30
Edit Download
386 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
784 B lrw-rw-r-- 2025-04-21 06:11:52
Edit Download
737 B lrw-rw-r-- 2024-02-22 08:11:18
Edit Download
944 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
2.66 KB lrw-rw-r-- 2025-12-10 09:24:27
Edit Download
3.99 KB lrw-rw-r-- 2025-07-30 10:06:01
Edit Download
2.36 KB lrw-rw-r-- 2026-04-07 05:00:19
Edit Download
1.66 KB lrw-rw-r-- 2024-10-23 04:50:49
Edit Download
496 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
4.01 KB lrw-r--r-- 2024-02-09 12:37:30
Edit Download
881 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
1.13 KB lrw-r--r-- 2024-02-09 12:37:30
Edit Download
909 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
941 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
1.03 KB lrw-r--r-- 2025-07-28 09:14:47
Edit Download
835 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
889 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
2.78 KB lrw-rw-r-- 2026-04-22 04:31:30
Edit Download
945 B lrw-rw-r-- 2024-09-20 05:02:14
Edit Download
2.21 KB lrw-rw-r-- 2024-09-20 05:02:14
Edit Download
972 B lrw-rw-r-- 2024-09-20 05:02:14
Edit Download
893 B lrw-rw-r-- 2026-03-31 07:15:50
Edit Download
659 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
10.40 KB lrw-rw-r-- 2026-04-30 09:24:18
Edit Download
574 B lrw-rw-r-- 2024-12-03 04:36:57
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).