FleetCart/Modules/Coupon/Http/Controllers/Admin/CouponController.php
2023-06-11 13:14:03 +01:00

41 lines
782 B
PHP

<?php
namespace Modules\Coupon\Http\Controllers\Admin;
use Modules\Coupon\Entities\Coupon;
use Modules\Admin\Traits\HasCrudActions;
use Modules\Coupon\Http\Requests\SaveCouponRequest;
class CouponController
{
use HasCrudActions;
/**
* Model for the resource.
*
* @var string
*/
protected $model = Coupon::class;
/**
* Label of the resource.
*
* @var string
*/
protected $label = 'coupon::coupons.coupon';
/**
* View path of the resource.
*
* @var string
*/
protected $viewPath = 'coupon::admin.coupons';
/**
* Form requests for the resource.
*
* @var array|string
*/
protected $validation = SaveCouponRequest::class;
}