# 06 — Obiektowość, `@dataclass` i `Protocol` ## Zadania (`oop_ex.py`) 1. `BankAccount` — enkapsulacja salda (`_balance`), metody `deposit`, `withdraw -> bool`, właściwość `balance`. 2. `Notifier` (`Protocol`) + `EmailNotifier`, `SmsNotifier` + `AlertService` (kompozycja). ## Uruchomienie testów ```bash make test MOD=01-core/06-oop-dataclasses ```