403Webshell
Server IP : 77.68.25.176  /  Your IP : 216.73.216.25
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/allinone.dazzlingwebplanet.co.uk/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/dazzlingwebplanet.co.uk/allinone.dazzlingwebplanet.co.uk/app/Models/CompanyInfo.php
<?php

namespace App\Models;

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

/**
 * Class CompanyInfo
 * @package App\Models
 * @version July 7, 2024, 8:42 pm UTC
 *
 * @property string $company_name
 * @property string $company_address
 * @property string $company_phone
 * @property integer $user_id
 */
class CompanyInfo extends Model
{


    use HasFactory;

    public $table = 'company_info';

    const CREATED_AT = 'created_at';
    const UPDATED_AT = 'updated_at';


    public $fillable = [
        'company_name',
        'company_address',
        'company_phone',
        'user_id'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id' => 'integer',
        'company_name' => 'string',
        'company_address' => 'string',
        'company_phone' => 'string',
        'user_id' => 'integer'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        'company_name' => 'required|string|max:255',
        'company_address' => 'required|string',
        'company_phone' => 'required|string|max:255',
        'user_id' => 'required|integer',
        'created_at' => 'nullable',
        'updated_at' => 'nullable'
    ];


}

Youez - 2016 - github.com/yon3zu
LinuXploit