mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 15:24:42 +08:00
17 lines
349 B
PHP
17 lines
349 B
PHP
<?php namespace BookStack;
|
|
|
|
class EmailConfirmation extends Model
|
|
{
|
|
protected $fillable = ['user_id', 'token'];
|
|
|
|
/**
|
|
* Get the user that this confirmation is attached to.
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
*/
|
|
public function user()
|
|
{
|
|
return $this->belongsTo(User::class);
|
|
}
|
|
|
|
}
|