datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
499 B
27 lines
499 B
7 years ago
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* E-mail confirmation
|
||
|
*
|
||
|
* @property int $id
|
||
|
* @property \Carbon\Carbon $created_at
|
||
|
* @property int $user_id
|
||
|
* @property string $token
|
||
|
* @property-read User $user
|
||
|
*/
|
||
|
class EmailConfirmation extends Model
|
||
|
{
|
||
|
protected $guarded = [];
|
||
|
const UPDATED_AT = null; // disable update timestamp
|
||
|
|
||
|
/** Authoring user */
|
||
|
public function user()
|
||
|
{
|
||
|
return $this->belongsTo(User::class, 'user_id');
|
||
|
}
|
||
|
}
|