flexisip-account-manager/flexiapi/app/AccountAction.php
Timothée Jaussoin a1780254d7 Restrict the attributes returned in AccountContact
Hide a few attributes in Account Action
Update the dependencies
Fix a title in the documentation
2022-02-01 12:17:56 +01:00

18 lines
337 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class AccountAction extends Model
{
use HasFactory;
protected $hidden = ['created_at', 'updated_at', 'account_id'];
public function account()
{
return $this->belongsTo('App\Account');
}
}