Major incomplete Change

This commit is contained in:
Omair Saleh
2019-02-14 11:43:19 +08:00
parent 771c52883f
commit 79131671bf
138 changed files with 2345 additions and 69018 deletions
+31
View File
@@ -0,0 +1,31 @@
<?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');
}
}