feat: add Logs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using mws.backend.dotnet.domain.Audit;
|
||||
using mws.backend.dotnet.domain.Documents;
|
||||
using mws.backend.dotnet.domain.MasterData;
|
||||
using mws.backend.dotnet.domain.Projects;
|
||||
@@ -20,6 +21,8 @@ public class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(op
|
||||
public DbSet<Role> Roles => Set<Role>();
|
||||
public DbSet<RolePermission> RolePermissions => Set<RolePermission>();
|
||||
public DbSet<MasterDataEntry> MasterData => Set<MasterDataEntry>();
|
||||
public DbSet<ActionLog> ActionLogs => Set<ActionLog>();
|
||||
public DbSet<LoginLog> LoginLogs => Set<LoginLog>();
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user