from __future__ import annotations

from dataclasses import dataclass
from typing import Optional


@dataclass(frozen=True)
class XmlgenConfig:
    default_values: bool = True
    array_values_separator: Optional[str] = None
    error_separator: str = "; "
    error_limit: int = 10
    redondeo_sedeco: bool = True
    decimals: int = 2
    tax_decimals: int = 2
    pyg_decimals: int = 0
    pyg_tax_decimals: int = 0
    partial_tax_decimals: int = 8
    user_object_remove: bool = False
    test: bool = False
    sum0_000001_suffix_before_to_fixed: bool = False
