whoami7 - Manager
:
/
home
/
kckglobal
/
public_html
/
portal
/
Modules
/
RestAPI
/
Entities
/
Upload File:
files >> /home/kckglobal/public_html/portal/Modules/RestAPI/Entities/ClientSubCategory.php
<?php namespace Modules\RestAPI\Entities; use Illuminate\Database\Eloquent\Relations\BelongsTo; class ClientSubCategory extends \App\Models\ClientSubCategory { protected $fillable = ['category_name']; protected $default = ['id', 'category_name', 'category_id']; protected $guarded = ['id', 'category_id']; protected $filterable = ['category_name', 'category_id']; public function category(): BelongsTo { return $this->belongsTo(ClientCategory::class, 'category_id'); } }
Copyright ©2021 || Defacer Indonesia