'array', 'read_at' => 'datetime', ]; public function form(): BelongsTo { return $this->belongsTo(WebForm::class, 'form_id'); } // Пометить заявку как просмотренную public function markAsRead(): void { if (! $this->read_at) { $this->update(['read_at' => now()]); } } }