Files
backend/app/Model/AppUser.php
2025-06-18 10:31:43 +08:00

38 lines
812 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $id
* @property string $name
* @property string $unique_id
* @property string $avatar
* @property string $email
* @property string $email_verified_at
* @property string $password
* @property string $remember_token
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
*/
class AppUser extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'app_users';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}