Files
pterodactyl-panel/app/Models/RecoveryToken.php
T

34 lines
636 B
PHP
Raw Normal View History

<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
namespace Pterodactyl\Models;
2026-10-05 18:10:18 -04:00
use Carbon\CarbonImmutable;
2022-10-14 10:59:20 -06:00
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $id
* @property int $user_id
* @property string $token
2026-10-05 18:10:18 -04:00
* @property CarbonImmutable $created_at
2024-10-21 19:18:20 -06:00
* @property User $user
*/
class RecoveryToken extends Model
{
/**
* There are no updates to this model, only inserts and deletes.
*/
2021-01-23 12:33:34 -08:00
public const UPDATED_AT = null;
public $timestamps = true;
/**
2026-10-05 18:10:18 -04:00
* @return BelongsTo<User, $this>
*/
2022-10-14 10:59:20 -06:00
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}