%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/vacivi36/core/app/Models/
Upload File :
Create Path :
Current File : //home2/vacivi36/core/app/Models/Schedule.php

<?php

namespace App\Models;

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

class Schedule extends Model
{
    use HasFactory, SoftDeletes;

    protected $fillable = [
        'patient_id',
        'schedule_date',
        'notes',
    ];

    public function applications()
    {
        return $this->hasMany(VaccineApplication::class);
    }

    public function patient()
    {
        return $this->belongsTo(Patient::class);
    }
}

Zerion Mini Shell 1.0