varias alteracoes
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-06 14:50:12 +02:00
parent 4f35313d06
commit e65cb26901
333 changed files with 54656 additions and 2058 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* @property string $rule_code
* @property string $component
* @property string $scope_key
* @property string $status
* @property int $author_id
* @property int|null $reviewer_id
* @property int|null $approver_id
* @property Carbon $valid_from
* @property Carbon|null $valid_until
*/
class SimulationTaxRuleVersion extends Model
{
use HasUuids;
protected $guarded = ['id'];
protected function casts(): array
{
return [
'rule_definition' => 'array',
'parameters' => 'array',
'rounding_policy' => 'array',
'valid_from' => 'date:Y-m-d',
'valid_until' => 'date:Y-m-d',
'reviewed_at' => 'immutable_datetime',
'approved_at' => 'immutable_datetime',
'published_at' => 'immutable_datetime',
'suspended_at' => 'immutable_datetime',
'archived_at' => 'immutable_datetime',
];
}
}