commit
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-28 12:06:05 +02:00
parent 90a6848721
commit 4d42f083ce
82 changed files with 7538 additions and 76 deletions
+5
View File
@@ -2,6 +2,7 @@
namespace App\Models;
use App\Enums\PurchasingRole;
use Database\Factories\UserFactory;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Attributes\Hidden;
@@ -12,6 +13,9 @@ use Illuminate\Support\Carbon;
/**
* @property int $id
* @property int|null $tenant_id
* @property int|null $department_id
* @property PurchasingRole $purchasing_role
* @property string $name
* @property string $email
* @property Carbon|null $email_verified_at
@@ -38,6 +42,7 @@ class User extends Authenticatable
protected function casts(): array
{
return [
'purchasing_role' => PurchasingRole::class,
'email_verified_at' => 'datetime',
'password' => 'hashed',
];