package com.yunhai.cms.event; /** * 站点内容/结构变更事件:站点本身、栏目树、轮播、友链 任一变更即发, * 门户站点快照缓存(cms:site)整体失效 + 列表缓存清除(方案 §8.4)。 */ public class SiteContentChangedEvent { private final Integer siteId; /** 变更来源说明(日志用):site/category/banner/link */ private final String scope; public SiteContentChangedEvent(Integer siteId, String scope) { this.siteId = siteId; this.scope = scope; } public Integer getSiteId() { return siteId; } public String getScope() { return scope; } }