from dataclasses import dataclass @dataclass class CONFIG: TIME_FORMAT = "%H:%M" @dataclass class WORKING_TIME: TOTAL_WORKING_TIME = 480 MORNING_IN = "08:00" MORNING_OUT = "12:00" AFTERNOON_IN = "13:00" AFTERNOON_OUT = "17:00" ROUND_GAP = 15 @dataclass class LATE: MORNING_IN = 30 AFTERNOON_IN = 30 MORNING_OUT = 0 AFTERNOON_OUT = 0