You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
828 B
PHP
38 lines
828 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Engelsystem\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Engelsystem\Models\User\UsesUserModel;
|
|
use Illuminate\Database\Query\Builder as QueryBuilder;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property string $provider
|
|
* @property string $identifier
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
*
|
|
* @method static QueryBuilder|OAuth[] whereId($value)
|
|
* @method static QueryBuilder|OAuth[] whereProvider($value)
|
|
* @method static QueryBuilder|OAuth[] whereIdentifier($value)
|
|
*/
|
|
class OAuth extends BaseModel
|
|
{
|
|
use UsesUserModel;
|
|
|
|
/** @var string */
|
|
public $table = 'oauth';
|
|
|
|
/** @var bool Enable timestamps */
|
|
public $timestamps = true;
|
|
|
|
/** @var array */
|
|
protected $fillable = [
|
|
'provider',
|
|
'identifier',
|
|
];
|
|
}
|