This commit is contained in:
pbao9
2026-01-29 15:52:23 +07:00
parent d2532bcddd
commit 73c5b6752f
15 changed files with 598 additions and 314 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use App\Traits\HasUuid;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Product extends Model
{
use HasFactory, HasUuid;
protected array $uuidColumns = ['uuid'];
protected string $slugColumn = 'name';
protected $fillable = [
'name',
'slug',
'description',
'price',
'price_sale',
'billing_cycle',
'cpu',
'ram',
'gpu',
'disk',
'bandwidth',
'is_active',
'sort_order',
];
}