<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TempOrder extends Model
{
    
    protected $fillable = ['user_id', 'payment_method', 'total_price', 'currency', 'discount', 'promo_code', 'grand_total','plan_id','duration','duration_id','status','transaction_id'];

    public function plan()
    {
        return $this->belongsTo(PricingPlan::class, 'plan_id');
    }

}
