%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/shaban/duassis/api/app/Models/
Upload File :
Create Path :
Current File : //var/www/html/shaban/duassis/api/app/Models/Provider.php

<?php

namespace App\Models;

/**
 * @property integer id
 * @property string social
 * @property string token
 * @property integer user_id
 * @property User user
 */
class Provider extends BaseModel
{
    const GOOGLE = 'GOOGLE';
    const FACEBOOK = 'FACEBOOK';

    protected $fillable = [
        'social',
        'token',
    ];

    protected $guarded = [
        'user_id',
    ];

    protected $casts = [
        'id'      => 'integer',
        'social'  => 'string',
        'token'   => 'string',
        'user_id' => 'integer',
    ];

}

Zerion Mini Shell 1.0