OOP 封装 继承 多态
SOLID SRP 单一职责 Single Responsibility Principle OCP 开放封闭 Open/Close Principle LSP 里氏替换 Liskov Substitution Principle ISP 接口分离 Interface Segregation Principle DIP 依赖倒置 Dependency Inversion Principle