PATH:
home
/
lab2454c
/
healthvalidate.com
/
app
/
Models
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use GoldSpecDigital\LaravelEloquentUUID\Database\Eloquent\Uuid; // use Illuminate\Support\Carbon; class Organization extends Model { use 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 = [ 'organization_name', 'industry_type', 'registration_no', 'industry_size', 'first_name', 'last_name', 'email', 'phone', 'department', 'contact_title', 'account_status', 'industry_type_other' ]; /** * The model's default values for attributes. * * @var array */ protected $attributes = [ 'account_status' => false, ]; // /** // * Get the user created_at. // * @param string $value // * @return string // */ // public function getCreatedAtAttribute($date) // { // if(Auth::guard('admin')->check() && !Auth::guard('web')->check()){ // return Carbon::createFromFormat('Y-m-d H:i:s', $date)->format('d/m/Y'); // } // } }
[-] DynamicPage.php
[edit]
[-] TravelInformation.php
[edit]
[-] ImmunizationApplication.php
[edit]
[+]
..
[-] Country.php
[edit]
[-] TestReview.php
[edit]
[-] Help.php
[edit]
[-] BannerImage.php
[edit]
[-] StaticPage.php
[edit]
[-] ChecklistContent.php
[edit]
[-] VaccinationReview.php
[edit]
[-] Setting.php
[edit]
[-] Copyright.php
[edit]
[-] Contact.php
[edit]
[-] TravelAuthorization.php
[edit]
[-] Gallery.php
[edit]
[-] MembershipInformation.php
[edit]
[-] VaccinationReviewContent.php
[edit]
[-] Admin.php
[edit]
[-] Organization.php
[edit]
[-] User.php
[edit]
[-] SocialLink.php
[edit]
[-] LegalConsent.php
[edit]
[-] Reward.php
[edit]