update schedule dokter

This commit is contained in:
pajri
2023-01-28 09:44:14 +07:00
parent 335e24b17c
commit 1ce2655b65
6 changed files with 280 additions and 50 deletions

View File

@@ -17,4 +17,11 @@ class Healthcare extends Model
protected $connection = 'oldlms';
protected $table = 'tm_healthcare';
protected $primaryKey = 'nID';
public function jadwalDokter()
{
return $this->hasMany(JadwalDokter::class, 'nIDHealthCare', 'nID');
}
}