import os
from dataclasses import dataclass
from datetime import datetime

ACCOUNT_INFO = [
    "Account",
    "Make",
    "Site",
    "Origin",
    "SalesChannel",
    "CostCarrier",
    "CostAccountingString",
]


@dataclass
class GchrExportConfig:
    main_site: str
    current_year: str
    current_month: str
    makes_used: dict[str, str]
    sites_used: dict[str, str]
    first_month: str
    period_no: str
    bookkeep_filter: dict[str, str]
    extraction_date: datetime
    export_file: str
    bookkeep_records: dict[str, list[str]]


@dataclass
class GchrConfig:
    first_month_of_financial_year: str = "01"
    data_dir: str = os.getcwd() + "\\data"
    gcstruct_dir: str = os.getcwd() + "\\..\\GCStruct_Aufbereitung"
    export_dir: str = os.getcwd() + "\\Export"
    export_format: str = "SKR51"