test wawancara
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user