在ts的class 内部属性的标记分为public、private、protect三类 public 可以被实例化的对象访问到private 只可以被定义的class中访问使用,不可被子类继承访问,不能被实例对象访问protect 可以被子类继承和访问到,不能被实例对象访问