Files
compras/app/Models/BusinessClient.php
T
nala 47649bd46c
tests / ci (push) Canceled after 0s
commit compras1 3011
2026-11-30 09:33:36 +02:00

30 lines
616 B
PHP

<?php
namespace App\Models;
use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
/** @property int $id
* @property int $tenant_id
* @property int $version
* @property bool $active
* @property string $client_key
* @property string $code
* @property string $name
* @property string|null $tax_number
* @property string $creation_hash
* @property int $created_by
*/
class BusinessClient extends Model
{
use BelongsToTenant;
protected $guarded = ['id'];
protected function casts(): array
{
return ['active' => 'boolean', 'version' => 'integer'];
}
}