Template
username : backend-kynantio password : test-programmer-20205
This commit is contained in:
No files matched your search
@@ -5,7 +5,10 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Customer extends Model
|
||||
class Doctor extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'doctor';
|
||||
protected $fillable = ['id_doctor', 'doctor_name'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Patient extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'patient';
|
||||
protected $fillable = ['id_patient', 'patient_name', 'medical_record_number', 'phone_number', 'gender', 'birth_date', 'address', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PatientVisit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'patientVisit';
|
||||
protected $fillable = ['barcode', 'registration_date', 'service_date', 'check_in_date', 'check_in', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Poliklinik extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'poliklinik';
|
||||
protected $fillable = ['id_poliklinik', 'poliklinik_name', 'poliklinik_code', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_doctor_healthcare_service extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_doctor_healthcare_service';
|
||||
protected $fillable = ['id_healthcare_service'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_healthcare_service extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_healthcare_service';
|
||||
protected $fillable = ['id_healthcare_service', 'name', 'code', 'icon', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_healthcare_service_payment_type extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_healthcare_service_payment_type';
|
||||
protected $fillable = ['id_healthcare_service_payment_type'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_healthcare_service_schedule extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_healthcare_service_schedule';
|
||||
protected $fillable = ['id_healthcare_service_schedule', 'day_of_week', 'available_start_time', 'available_end_time', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_healthcare_service_shift extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_healthcare_service_shift';
|
||||
protected $fillable = ['id_healthcare_service_shift', 'shift_number', 'quota', 'available_start_time', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_healthcare_service_visit_type extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_healthcare_service_visit_type';
|
||||
protected $fillable = ['id_healthcare_service_visit_type'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_kiosk extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_kiosk';
|
||||
protected $fillable = ['id_kiosk', 'name', 'icon', 'url', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_kiosk_healthcare_service extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_kiosk_healthcare_service';
|
||||
protected $fillable = ['id_kiosk_healthcare_service'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_kiosk_payment_type extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_kiosk_payment_type';
|
||||
protected $fillable = ['id_kiosk_payment_type'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_kiosk_schedule extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_kiosk_schedule';
|
||||
protected $fillable = ['id_kiosk_schedule', 'day_of_week', 'available_start_time', 'available_end_time', 'active'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_kiosk_visit_type extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_kiosk_visit_type';
|
||||
protected $fillable = ['id_kiosk_visit_type'];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ms_patient_payment_type extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'ms_patient_payment_type';
|
||||
protected $fillable = ['id_payment', 'payment_type', 'number', 'active'];
|
||||
}
|
||||
Reference in New Issue
Block a user