403Webshell
Server IP : 77.68.25.176  /  Your IP : 216.73.216.24
Web Server : Apache
System : Linux plesk 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64
User : dwp ( 10001)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/dazzlingwebplanet.co.uk/rightway.dazzlingwebplanet.com/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/dazzlingwebplanet.co.uk/rightway.dazzlingwebplanet.com/app/Models/Siteinfo.php
<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Siteinfo
 * @package App\Models
 * @version August 8, 2020, 12:02 pm UTC
 *
 * @property string $site_name
 * @property string $description
 * @property string $address1
 * @property string $address2
 * @property string $contact
 * @property string $city
 * @property string $postcode
 * @property string $country
 * @property string $url
 * @property string $copyright
 * @property integer $status
 */
class Siteinfo extends Model
{
    use SoftDeletes;

    public $table = 'siteinfo';
    
    const CREATED_AT = 'created_at';
    const UPDATED_AT = 'updated_at';


    protected $dates = ['deleted_at'];



    public $fillable = [
        'site_name',
        'description',
        'address1',
        'address2',
        'contact',
        'city',
        'postcode',
        'country',
        'url',
        'copyright',
        'status'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id' => 'integer',
        'site_name' => 'string',
        'description' => 'string',
        'address1' => 'string',
        'address2' => 'string',
        'contact' => 'string',
        'city' => 'string',
        'postcode' => 'string',
        'country' => 'string',
        'url' => 'string',
        'copyright' => 'string',
        'status' => 'integer'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        'site_name' => 'required|string|max:100',
        'description' => 'required|string',
        'address1' => 'required|string|max:100',
        'address2' => 'required|string|max:100',
        'contact' => 'required|string|max:100',
        'city' => 'required|string|max:100',
        'postcode' => 'required|string|max:100',
        'country' => 'required|string|max:100',
        'url' => 'required|string|max:100',
        'copyright' => 'required|string|max:255',
        'status' => 'required|integer',
        'deleted_at' => 'nullable',
        'created_at' => 'nullable',
        'updated_at' => 'nullable'
    ];

    
}

Youez - 2016 - github.com/yon3zu
LinuXploit