update schedule dokter
This commit is contained in:
@@ -19,4 +19,14 @@ class JadwalDokter extends Model
|
||||
protected $table = 'tx_jadwal_dokter';
|
||||
|
||||
protected $primaryKey = 'nID';
|
||||
|
||||
public function jadwalDokterDay()
|
||||
{
|
||||
return $this->hasMany(JadwalDokterDay::class, 'nIDJadwalDokter', 'nID');
|
||||
}
|
||||
|
||||
public function healthcare()
|
||||
{
|
||||
return $this->belongsTo(Healthcare::class, 'nIDHealthCare', 'nID');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user