单一职责原则 (Single Responsibility Principle )开闭原则 (Open Closed Principle)里氏替换原则 (Liskov Substitution Principle)接口隔离原则 (Interface Segregationn Principle)依赖倒置原则 (Dependence Inversion Principle)迪米特法则 (Law of Demeter)合成复用原则( Composite Reuse Principle)