https://codingnote.cc/zh-hans/p/343254/
封装和继承