%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/forge/api-takeaseat.eco-n-tech.co.uk/app/Models/
Upload File :
Create Path :
Current File : //proc/self/root/home/forge/api-takeaseat.eco-n-tech.co.uk/app/Models/Membership.php

<?php

namespace App\Models;

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

class Membership extends Model
{
    use HasFactory;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'therapist_id',
        'name',
        'number',
        'expiry_date',
        'is_accredited'
    ];

    /**
     * The attributes that should be cast.
     *
     * @var array
     */
    protected $casts = [
        'expiry_date' => 'datetime:Y-m-d H:i:s'
    ];

    /**
     * Get the therapist
     */
    public function therapist()
    {
        return $this->belongsTo(Therapist::class);
    }
}

Zerion Mini Shell 1.0