fix : 모델 경로 수정

This commit is contained in:
2025-07-29 13:00:25 +09:00
parent d5e94bc698
commit 1942f51cf7
55 changed files with 199 additions and 344 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models\Tenants;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Plan extends Model
{
use SoftDeletes;
protected $fillable = [
'name', 'code', 'description', 'price', 'billing_cycle', 'features', 'is_active',
];
protected $casts = [
'features' => 'array',
'is_active' => 'boolean',
'price' => 'float',
];
public function subscriptions() {
return $this->hasMany(Subscription::class);
}
}