test wawancara

This commit is contained in:
person-programmer
2025-12-02 13:32:45 +07:00
parent efffe71082
commit fcde54700f
15 changed files with 276 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PatientModel extends Model
{
use HasFactory;
protected $table = 'master.ms_patient';
public function attachment(){
return $this->hasMany(PatientAttachment::class, 'fk_ms_patient_id');
}
public function paymentType(){
return $this->hasMany(PatientPaymentType::class, 'fk_ms_patient_id');
}
}