peserta-danuar

This commit is contained in:
unknown
2025-12-02 13:37:26 +07:00
parent 461a740be0
commit 82456a8026
30 changed files with 1486 additions and 7 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\HasOne;
class MsDoctorHealthService extends Model
{
use HasFactory;
/**
* Get the user associated with the doctor_healthcare_service
*
* @return \Illuminate\Database\Eloquent\Relations\HasOne
*/
public function msDoctor(): HasOne
{
return $this->hasOne(MsDoctor::class, 'foreign_key', 'local_key');
}
/**
* Get the user associated with the DoctorHealthService
*
* @return \Illuminate\Database\Eloquent\Relations\HasOne
*/
public function msHealthcareService(): HasOne
{
return $this->hasOne(MsHealthcareService::class, 'foreign_key', 'local_key');
}
}