19 lines
361 B
PHP
19 lines
361 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PatientAttachment extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'master.ms_patient_attachment';
|
|
|
|
public function patient()
|
|
{
|
|
return $this->belongsTo(PatientModel::class, 'fk_ms_patient_id');
|
|
}
|
|
}
|