为类设置代理 getter, setter

def access(self, name: str, rename: Optional[str] = None) -> 'ProxyAttr':
        """
        为类设置代理 getter, setter
        """
        self.getter(name, rename)
        self.setter(name, rename)
        return self