PATH:
home
/
lab2454c
/
tripvare.com
/
backup
/
app
/
Models
<?php namespace App\Models; use GoldSpecDigital\LaravelEloquentUUID\Database\Eloquent\Uuid; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Country extends Model { use HasFactory, Uuid; /** * The "type" of the auto-incrementing ID. * * @var string */ protected $keyType = 'string'; /** * Indicates if the IDs are auto-incrementing. * * @var bool */ public $incrementing = false; /** * The attributes that are mass assignable. * * @var array */ protected $guarded = []; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'num_code', 'alpha_2_code', 'alpha_3_code', 'en_short_name', 'nationality' ]; /** * Get the applicant nationality. */ public function user() { return $this->hasMany(User::class); } }
[-] DynamicPage.php
[edit]
[-] TravelInformation.php
[edit]
[-] ImmunizationApplication.php
[edit]
[+]
..
[-] Country.php
[edit]
[-] TestReview.php
[edit]
[-] BannerImage.php
[edit]
[-] StaticPage.php
[edit]
[-] ChecklistContent.php
[edit]
[-] VaccinationReview.php
[edit]
[-] Setting.php
[edit]
[-] Contact.php
[edit]
[-] TravelAuthorization.php
[edit]
[-] Gallery.php
[edit]
[-] VaccinationReviewContent.php
[edit]
[-] Admin.php
[edit]
[-] User.php
[edit]