'islhd', /* * Package. */ 'package' => 'order', /* * Modules. */ 'modules' => ['order', 'detail', 'history'], 'order' => [ 'model' => [ 'model' => \Islhd\Order\Models\Order::class, 'table' => 'orders', 'presenter' => \Islhd\Order\Repositories\Presenter\OrderPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'user_type', 'order_status', 'subtotal', 'tax', 'total', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'order/order', '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' => 'Islhd', 'package' => 'Order', 'module' => 'Order', ], ], 'detail' => [ 'model' => [ 'model' => \Islhd\Order\Models\Detail::class, 'table' => 'details', 'presenter' => \Islhd\Order\Repositories\Presenter\DetailPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'order_id', 'product_id', 'quantity', 'price', 'parameters', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'order/detail', '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' => 'Islhd', 'package' => 'Order', 'module' => 'Detail', ], ], 'history' => [ 'model' => [ 'model' => \Islhd\Order\Models\History::class, 'table' => 'histories', 'presenter' => \Islhd\Order\Repositories\Presenter\HistoryPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'order_id', 'detail_id', 'user_id', 'user_type', 'status', 'quantity', 'details', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'order/history', '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' => 'Islhd', 'package' => 'Order', 'module' => 'History', ], ], ];