|null $details * @property string|null $prev_hash * @property string $signature * @property int $id * @property CarbonImmutable|null $created_at */ class AuditLog extends Model { // Журнал неизменяемый: updated_at не нужен. public const UPDATED_AT = null; protected $guarded = []; protected $casts = [ 'details' => 'array', 'created_at' => 'datetime', ]; public function getConnectionName(): ?string { return config('audit.connection', 'audit'); } public function getTable(): string { return config('audit.table', 'audit_log'); } }