<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Subscription extends Model
{
    //
    protected $guarded = [];


    protected $casts = [
        'expires_at' => 'datetime',
        'raw_response' => 'array',
        'is_active' => 'boolean',
    ];


    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
