|
16 | 16 | use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; |
17 | 17 | use Pterodactyl\Notifications\SendPasswordReset as ResetPasswordNotification; |
18 | 18 |
|
| 19 | +/** |
| 20 | + * @property int $id |
| 21 | + * @property string|null $external_id |
| 22 | + * @property string $uuid |
| 23 | + * @property string $username |
| 24 | + * @property string $email |
| 25 | + * @property string|null $name_first |
| 26 | + * @property string|null $name_last |
| 27 | + * @property string $password |
| 28 | + * @property string|null $remeber_token |
| 29 | + * @property string $language |
| 30 | + * @property bool $root_admin |
| 31 | + * @property bool $use_totp |
| 32 | + * @property string|null $totp_secret |
| 33 | + * @property \Carbon\Carbon|null $totp_authenticated_at |
| 34 | + * @property bool $gravatar |
| 35 | + * @property \Carbon\Carbon $created_at |
| 36 | + * @property \Carbon\Carbon $updated_at |
| 37 | + * |
| 38 | + * @property string $name |
| 39 | + * @property \Pterodactyl\Models\Permission[]|\Illuminate\Support\Collection $permissions |
| 40 | + * @property \Pterodactyl\Models\Server[]|\Illuminate\Support\Collection $servers |
| 41 | + * @property \Pterodactyl\Models\Subuser[]|\Illuminate\Support\Collection $subuserOf |
| 42 | + * @property \Pterodactyl\Models\DaemonKey[]|\Illuminate\Support\Collection $keys |
| 43 | + */ |
19 | 44 | class User extends Validable implements |
20 | 45 | AuthenticatableContract, |
21 | 46 | AuthorizableContract, |
@@ -85,7 +110,7 @@ class User extends Validable implements |
85 | 110 | /** |
86 | 111 | * @var array |
87 | 112 | */ |
88 | | - protected $dates = [self::CREATED_AT, self::UPDATED_AT, 'totp_authenticated_at']; |
| 113 | + protected $dates = ['totp_authenticated_at']; |
89 | 114 |
|
90 | 115 | /** |
91 | 116 | * The attributes excluded from the model's JSON form. |
|
0 commit comments