Untitled PHP

Tung Pham (tungpham42) php Public Feb 27, 2026 06:32 AM
Share
<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class User extends Authenticatable
{
    use Notifiable;

    protected $fillable = [
        'name',
        'email',
        'google_id',
        'is_pro',
        'avatar',
        'password'
    ];

    public function pastes()
    {
        return $this->hasMany(Paste::class);
    }
}