mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
32 lines
677 B
PHP
32 lines
677 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
/**
|
|
* @copyright Copyright (C) 2018 IP ServerOne Solutions Sdn. Bhd. All rights reserved.
|
|
* @author Zhe Yang, Lee <zylee@ipserverone.com>
|
|
* @license Proprietary
|
|
*/
|
|
final class UserEmailVerification extends AbstractModel {
|
|
public $incrementing = true;
|
|
|
|
protected $table = 'user_email_verification';
|
|
|
|
protected $fillable = [
|
|
'email',
|
|
'token',
|
|
'is_complete',
|
|
'is_active',
|
|
'is_sent'
|
|
];
|
|
|
|
/**
|
|
* @return BelongsTo
|
|
*/
|
|
public function user(): BelongsTo {
|
|
return $this->belongsTo(user::class, 'email');
|
|
}
|
|
}
|