ok

Mini Shell

Direktori : /home2/selectio/public_html/fms-worksuite/vendor/macsidigital/laravel-zoom/src/
Upload File :
Current File : /home2/selectio/public_html/fms-worksuite/vendor/macsidigital/laravel-zoom/src/Assistant.php

<?php

namespace MacsiDigital\Zoom;

use MacsiDigital\Zoom\Support\Model;

class Assistant extends Model
{
    protected $insertResource = 'MacsiDigital\Zoom\Requests\StoreAssistant';
    protected $updateResource = 'MacsiDigital\Zoom\Requests\UpdateAssistant';
    
    protected $endPoint = 'users/{user_id}/assistants';

    protected $allowedMethods = ['get', 'post', 'delete'];

    protected $apiMultipleDataField = 'assistants';

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function getApiMultipleDataField()
    {
        return $this->apiMultipleDataField;
    }
}

Zerion Mini Shell 1.0