%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/app/Models/
Upload File :
Create Path :
Current File : /var/www/html/news/app/Models/Configuration.php

<?php

namespace App\Models;

use App\Presenters\ConfigurationPresenter;
use Laracodes\Presenter\Traits\Presentable;

class Configuration extends BaseModel
{
    use Presentable;

    protected $presenter = ConfigurationPresenter::class;

    protected $fillable = [
        'site_name',
        'site_domain',
        'comment_approvement',
        'admin_email',
        'contact_email',
        'address',
        'phone_number_1',
        'phone_number_2',
        'latitude',
        'longitude'
    ];

    protected $casts = [
        'id'                  => 'integer',
        'site_name'           => 'string',
        'site_domain'         => 'string',
        'comment_approvement' => 'boolean',
        'admin_email'         => 'string',
        'contact_email'       => 'string',
        'address'             => 'string',
        'phone_number_1'      => 'string',
        'phone_number_2'      => 'string',
        'latitude'            => 'float',
        'longitude'           => 'float'
    ];

    protected $dates = [

    ];

}

Zerion Mini Shell 1.0