generated from liutk/owl-admin-base
24 lines
555 B
PHP
24 lines
555 B
PHP
<?php
|
|
|
|
namespace App\Services\Admin;
|
|
|
|
use App\Models\UserGift;
|
|
use App\Models\Filters\UserGiftFilter;
|
|
use App\Traits\UploadTrait;
|
|
use Illuminate\Support\Arr;
|
|
use Illuminate\Support\Facades\Storage;
|
|
|
|
/**
|
|
* @method UserGift getModel()
|
|
* @method UserGift|\Illuminate\Database\Query\Builder query()
|
|
*/
|
|
class UserGiftService extends BaseService
|
|
{
|
|
use UploadTrait;
|
|
|
|
protected string $modelName = UserGift::class;
|
|
|
|
protected string $modelFilterName = UserGiftFilter::class;
|
|
|
|
protected array $withRelationships = ['user', 'gift', 'activity'];
|
|
} |