first commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record Menu_ChangedDomainEvent(long menuId) : DomainEvent;
|
||||
@@ -0,0 +1,5 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record RoleDepartment_ChangedDomainEvent(long roleId) : DomainEvent;
|
||||
@@ -0,0 +1,5 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record RoleMenu_ChangedDomainEvent(long roleId) : DomainEvent;
|
||||
@@ -0,0 +1,8 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record UserCreatedDomainEvent(
|
||||
long UserId,
|
||||
string UserName,
|
||||
long DepartmentId) : DomainEvent;
|
||||
@@ -0,0 +1,10 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record UserLoginDomainEvent(
|
||||
string DeviceId,
|
||||
string Account,
|
||||
bool Success,
|
||||
long UserId,
|
||||
string UserName) : DomainEvent;
|
||||
@@ -0,0 +1,5 @@
|
||||
using F9WebAiTest.Domain.Entities;
|
||||
|
||||
namespace F9WebAiTest.Domain.Events.SYS.RBAC;
|
||||
|
||||
public record UserRole_ChangedDomainEvent(long userId) : DomainEvent;
|
||||
Reference in New Issue
Block a user