Files
compras/app/Models/SupplierBankDetail.php
T
nala 70163c0184
tests / ci (push) Canceled after 0s
commit2
2026-10-28 14:35:06 +02:00

32 lines
831 B
PHP

<?php
namespace App\Models;
use App\Models\Concerns\AppendOnlyInventoryRecord;
use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
/** @property int $id
* @property int $tenant_id
* @property int $supplier_id
* @property int $created_by
* @property int $revision
* @property string $account_identifier
* @property string $beneficiary
*/
class SupplierBankDetail extends Model
{
use AppendOnlyInventoryRecord, BelongsToTenant;
public $timestamps = false;
protected $guarded = ['id'];
protected $hidden = ['account_identifier', 'beneficiary', 'evidence_reference', 'reason'];
protected function casts(): array
{
return ['account_identifier' => 'encrypted', 'beneficiary' => 'encrypted', 'evidence_reference' => 'encrypted', 'reason' => 'encrypted'];
}
}