init local code

This commit is contained in:
chenxing
2026-08-24 17:37:10 +08:00
commit 40dd7fadea
71 changed files with 5597 additions and 0 deletions
@@ -0,0 +1,32 @@
package com.yunhai.notice.common.event;
import java.util.List;
/**
* 通知发布事件。在通知状态从草稿变更为已发布时发布,
* 由 {@code MessageService} 监听并在事务提交后异步推送消息(短信/App/角标等)。
*/
public class NoticePublishedEvent {
private final Integer noticeId;
private final String title;
private final List<String> receiverAccounts;
public NoticePublishedEvent(Integer noticeId, String title, List<String> receiverAccounts) {
this.noticeId = noticeId;
this.title = title;
this.receiverAccounts = receiverAccounts;
}
public Integer getNoticeId() {
return noticeId;
}
public String getTitle() {
return title;
}
public List<String> getReceiverAccounts() {
return receiverAccounts;
}
}