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
+23 -2
View File
@@ -3,20 +3,41 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Crypt;
/**
* @property string $id
* @property int|null $owner_user_id
* @property string|null $anonymous_token_hash
* @property int $version_no
* @property string $create_key_hash
* @property string $create_payload_hash
* @property string $snapshot_sha256
* @property string $personal_snapshot
* @property string $economic_snapshot
* @property Carbon|null $deleted_at
* @property Carbon|null $expires_at
* @property string|null $claimed_token_hash
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
*/
class SimulationFormDraft extends Model
{
public $incrementing = false;
protected $table = 'simulation_form_drafts';
protected $keyType = 'string';
protected $fillable = [
'id', 'owner_user_id', 'anonymous_token_hash', 'version_no', 'create_key_hash', 'create_payload_hash', 'snapshot_sha256',
'personal_snapshot', 'economic_snapshot', 'deleted_at',
'personal_snapshot', 'economic_snapshot', 'deleted_at', 'expires_at', 'claimed_token_hash',
];
protected function casts(): array
{
return ['version_no' => 'integer', 'deleted_at' => 'immutable_datetime'];
return ['version_no' => 'integer', 'deleted_at' => 'immutable_datetime', 'expires_at' => 'immutable_datetime'];
}
/** @param array<string,mixed> $snapshot */