'litecms', /* * Package. */ 'package' => 'commission', /* * Modules. */ 'modules' => ['commission_setting'], 'commission_setting' => [ 'model' => [ 'model' => \Litecms\Commission\Models\CommissionSetting::class, 'table' => 'commission_settings', 'presenter' => \Litecms\Commission\Repositories\Presenter\CommissionSettingPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['min_amt', 'max_amt', 'commission'], 'translatables' => [], 'upload_folder' => 'commission/commission_setting', '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' => 'Litecms', 'package' => 'Commission', 'module' => 'CommissionSetting', ], ], ];