Class NotificationPreferenceBase
java.lang.Object
io.leandev.appfuse.notification.preference.NotificationPreferenceBase
使用者通知偏好的欄位基類(Phase 2 opt-out)
一列代表「某使用者對某通知型別×通道」的開關。opt-out 模型:無列即視為啟用,故只在使用者選擇
關閉時才建列(enabled=false)。由 DbNotificationPreferenceFilter 查詢。
依 ADR-017:框架 jar
不擁有 @Entity——本類為 @MappedSuperclass(欄位),具體 @Entity(表名、唯一約束、租戶性)由應用
宣告。租戶欄位不在此:tenant 專案的應用 entity 以 @TenantId 宣告(uk 首欄即 NOT NULL,決策五),
ownership 專案無此欄位。
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NotificationPreferenceBase
public NotificationPreferenceBase()
-