A class decorated with @dataclass: Python generates init, repr and eq from the annotated fields, with options like frozen, order and slots.