'hospital', /* * Package. */ 'package' => 'appointment', /* * Modules. */ 'modules' => ['appointment'], 'appointment' => [ 'model' => [ 'model' => \Hospital\Appointment\Models\Appointment::class, 'table' => 'appointments', 'presenter' => \Hospital\Appointment\Repositories\Presenter\AppointmentPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'clinic_id', 'department_id', 'doctor_id', 'patient_name', 'email', 'phone', 'address', 'appointment_time', 'status', 'slug', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'appointment/appointment', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Hospital', 'package' => 'Appointment', 'module' => 'Appointment', ], ], ];