'b2buy', /* * Package. */ 'package' => 'supplier', /* * Modules. */ 'modules' => ['supplier'], 'supplier' => [ 'model' => [ 'model' => \B2buy\Supplier\Models\Supplier::class, 'table' => 'suppliers', 'presenter' => \B2buy\Supplier\Repositories\Presenter\SupplierPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'reporting_to', 'name', 'email', 'password', 'company_name', 'abn', 'title', 'api_token', 'remember_token', 'sex', 'dob', 'designation', 'mobile', 'phone', 'address', 'financial_authorization', 'work_email', 'alternative_phone', 'street', 'city', 'district', 'state', 'country', 'photo', 'web', 'permissions', 'status', 'email_verified_at', 'user_id', 'user_type', 'user_mode', 'upload_folder', 'deleted_at', 'created_at', 'updated_at', 'team_id', 'trading_name', 'duns_number', 'registered_office', 'fb_url', 'linkedin_url', 'directors', 'documents'], 'translatables' => [], 'upload_folder' => 'supplier/supplier', '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' => 'B2buy', 'package' => 'Supplier', 'module' => 'Supplier', ], ], ];