админка

This commit is contained in:
2026-03-13 23:33:35 +04:00
parent bae063a4fa
commit eaedeeb52b
41 changed files with 2506 additions and 67 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class InviteCode extends Model
{
protected $fillable = [
'code',
'created_by_account_id',
'created_by_username',
'redeemed_by_account_id',
'redeemed_by_username',
'redeemed_at',
];
protected function casts(): array
{
return [
'redeemed_at' => 'datetime',
];
}
}