feat: subscriptions
CI / 🧪 Tests Laravel (push) Successful in 2m48s
CI / 🐳 Build & Push Image (push) Successful in 3m0s

This commit is contained in:
2026-08-07 11:53:46 +02:00
parent 99cb0e63e6
commit 2ece4b6e3e
51 changed files with 1489 additions and 254 deletions
+3
View File
@@ -2,6 +2,7 @@
namespace App\Models;
use App\Enums\BillingProductPurpose;
use App\Enums\CreditProductType;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Concerns\HasUlids;
@@ -18,6 +19,7 @@ class CreditProduct extends Model
'name',
'description',
'type',
'purpose',
'credits',
'amount',
'currency',
@@ -51,6 +53,7 @@ class CreditProduct extends Model
{
return [
'type' => CreditProductType::class,
'purpose' => BillingProductPurpose::class,
'credits' => 'integer',
'amount' => 'integer',
'is_active' => 'boolean',