mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
13 lines
467 B
C#
13 lines
467 B
C#
using System.Text.RegularExpressions;
|
|
using Govor.Core.Models;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Govor.Data;
|
|
|
|
public class GovorDbContext(DbContextOptions<GovorDbContext> options) : DbContext(options)
|
|
{
|
|
public virtual DbSet<User> Users { get; set; }
|
|
public virtual DbSet<ChatGroup> ChatGroups { get; set; }
|
|
public virtual DbSet<GroupMembership> GroupMemberships { get; set; }
|
|
public virtual DbSet<GroupAdmins> GroupAdmins { get; set; }
|
|
} |