'annie', /* * Package. */ 'package' => 'campaign', /* * Modules. */ 'modules' => ['campaign', 'campaign_kind_support', 'campaign_volunteer'], 'campaign' => [ 'model' => [ 'model' => \Annie\Campaign\Models\Campaign::class, 'table' => 'campaigns', 'presenter' => \Annie\Campaign\Repositories\Presenter\CampaignPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'start_date', 'end_date', 'work_area', 'programme', 'activity_area', 'is_featured', 'title', 'description', 'images', 'videos', 'fund_raised', 'is_special', 'category_id', 'sub_category_id', 'donation_amount', 'keyword', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'campaign/campaign', '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' => 'Annie', 'package' => 'Campaign', 'module' => 'Campaign', ], ], 'campaign_kind_support' => [ 'model' => [ 'model' => \Annie\Campaign\Models\CampaignKindSupport::class, 'table' => 'campaign_kind_supports', 'presenter' => \Annie\Campaign\Repositories\Presenter\CampaignKindSupportPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'campaign_id', 'kind_support_id', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'campaign/campaign_kind_support', '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' => 'Annie', 'package' => 'Campaign', 'module' => 'CampaignKindSupport', ], ], 'campaign_volunteer' => [ 'model' => [ 'model' => \Annie\Campaign\Models\CampaignVolunteer::class, 'table' => 'campaign_volunteers', 'presenter' => \Annie\Campaign\Repositories\Presenter\CampaignVolunteerPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'campaign_id', 'volunteer_id', 'updated_at', 'created_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'campaign/campaign_volunteer', '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' => 'Annie', 'package' => 'Campaign', 'module' => 'CampaignVolunteer', ], ], ];