fix: update user model

This commit is contained in:
2026-08-20 08:21:55 +03:30
parent 2d9b56a83e
commit d4e96f614a
+4 -3
View File
@@ -7,12 +7,13 @@
namespace App\Models; namespace App\Models;
use Carbon\Carbon; use Carbon\Carbon;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
/** /**
* Class User * Class User
* *
* @property int $id * @property int $id
* @property string $first_name * @property string $first_name
* @property string $last_name * @property string $last_name
@@ -31,14 +32,14 @@ use Illuminate\Database\Eloquent\Model;
* @property int $status * @property int $status
* @property Carbon $created_at * @property Carbon $created_at
* @property Carbon $updated_at * @property Carbon $updated_at
* *
* @property Collection|Booking[] $bookings * @property Collection|Booking[] $bookings
* @property Collection|Comment[] $comments * @property Collection|Comment[] $comments
* @property Collection|Favorite[] $favorites * @property Collection|Favorite[] $favorites
* *
* @package App\Models * @package App\Models
*/ */
class User extends Model class User extends Authenticatable
{ {
protected $table = 'users'; protected $table = 'users';
public static $snakeAttributes = false; public static $snakeAttributes = false;