'litecms', /* * Package. */ 'package' => 'advertisement', /* * Modules. */ 'modules' => ['advertisement'], 'advertisement' => [ 'model' => [ 'model' => \Litecms\Advertisement\Models\Advertisement::class, 'table' => 'advertisements', 'presenter' => \Litecms\Advertisement\Repositories\Presenter\AdvertisementPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'slug', 'title', 'details', 'image', 'region', 'order', 'size', 'upload_folder', 'status', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'advertisement/advertisement', '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' => 'Advertisement', 'module' => 'Advertisement', ], ], ];