装饰者模式(Decorator pattern)