<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SubscriptionPackageProduct extends Model
{
    protected $fillable = [
        'subscription_id',
        'product_name',
        'product_description',
        'category',
        'quantity',
        'price'
    ];

    public function package()
    {
        return $this->belongsTo(SubscriptionPackage::class, 'subscription_id');
    }
}