commit2
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-28 14:35:06 +02:00
parent 332cb9f1b7
commit 70163c0184
18 changed files with 1036 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
<?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'];
}
}
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use App\Models\Concerns\AppendOnlyInventoryRecord;
use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
class SupplierBankReview extends Model
{
use AppendOnlyInventoryRecord, BelongsToTenant;
public $timestamps = false;
protected $guarded = ['id'];
protected $hidden = ['reason'];
protected function casts(): array
{
return ['reason' => 'encrypted'];
}
}