暂存提交
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.baiyue.common.event;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/** IAM 向海外服务发布的 V1 安全投影事件负载。 */
|
||||
public final class IamSecurityEventsV1 {
|
||||
public static final int VERSION = 1;
|
||||
|
||||
private IamSecurityEventsV1() { }
|
||||
|
||||
public record UserStatusChanged(long authUserId, long tenantId, String appCode,
|
||||
String status, long permissionVersion, Instant changedAt) { }
|
||||
|
||||
public record TenantStatusChanged(long tenantId, String status, Instant changedAt) { }
|
||||
|
||||
public record PermissionVersionChanged(long authUserId, long tenantId, String appCode,
|
||||
long permissionVersion, String reason, Instant changedAt) { }
|
||||
}
|
||||
Reference in New Issue
Block a user