<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\UserUpdateEmail
 *
 * @property-read \App\User $user
 * @mixin \Eloquent
 */
class UserUpdateEmail extends Model
{
    protected $connection = 'mysql';

    protected $table = 'users_update_email';

    protected $fillable = [
        'user_id', 'email', 'token',
    ];

    public function user()
    {
        return $this->belongsTo('App\User', 'user_id');
    }
}
