mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-02-23 15:15:01 +01:00
12 lines
398 B
C#
12 lines
398 B
C#
|
using DotBased.AspNet.Authority.Models.Authority;
|
||
|
using Microsoft.EntityFrameworkCore;
|
||
|
|
||
|
namespace DotBased.AspNet.Authority.EFCore;
|
||
|
|
||
|
public class AuthorityContext : DbContext
|
||
|
{
|
||
|
public DbSet<AuthorityAttribute> Attributes { get; set; }
|
||
|
public DbSet<AuthorityGroup> Groups { get; set; }
|
||
|
public DbSet<AuthorityRole> Roles { get; set; }
|
||
|
public DbSet<AuthorityUser> Users { get; set; }
|
||
|
}
|