initial commit

This commit is contained in:
Inshal
2024-10-25 01:02:11 +05:00
commit 6e65bc3a62
1710 changed files with 273609 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PatientPlan extends Model
{
use HasFactory;
protected $table = 'patient_plan';
protected $fillable = [
'patient_id',
'plan_id'
];
public function patient()
{
return $this->belongsTo(Patient::class, 'patient_id', 'id');
}
public function plan()
{
return $this->belongsTo(Plan::class, 'plan_id');
}
}