'litecms', /* * Package. */ 'package' => 'flat', /* * Modules. */ 'modules' => ['flats'], 'flats' => [ 'model' => [ 'model' => \Litecms\Flat\Models\Flats::class, 'table' => 'flats', 'presenter' => \Litecms\Flat\Repositories\Presenter\FlatsPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['flat_type', 'name', 'no_of_floors', 'no_of_units', 'car_parking', 'price', 'owner_id', 'area', 'city', 'state', 'country', 'pin_code', 'description'], 'translatables' => [], 'upload_folder' => 'flat/flats', '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' => 'Flat', 'module' => 'Flats', ], ], ];