32 lines
831 B
PHP
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'];
|
|
}
|
|
}
|