FleetCart/Modules/Coupon/Http/Controllers/Admin/CouponController.php

41 lines
782 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?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;
}