<?php

namespace App\Models;

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

class RegisterPractitioner extends Model
{
    use HasFactory;

    protected $table = 'practitioner_register';

    protected $fillable = [
        'reg_pay_status',
        'reference_id',
        'reg_price'
    ];

    protected $casts = [
        'reg_price' => 'double'
    ];

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