test wawancara
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class HealthCareServiceModel extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'master.ms_healthcare_service';
|
||||
|
||||
public function ref_healthcare_type()
|
||||
{
|
||||
return $this->belongsTo(RefHealthCareType::class, 'fk_ref_healthcare_type_id');
|
||||
}
|
||||
|
||||
public function ref_service_type()
|
||||
{
|
||||
return $this->belongsTo(RefServiceType::class, 'fk_ref_service_type_id');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user