<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Subscription extends Model
{
    use HasFactory;

    protected $table = 'subscription';

    protected $fillable = ['name','plan','total_appointment'];

    public function DoctorSubscription()
    {
        return $this->hasOne('App\Models\DoctorSubscription');
    }
}
