continuity/Continuity.AuthServer/DB/WonderkingContext.cs

20 lines
577 B
C#
Raw Normal View History

2023-11-21 20:37:50 +00:00
// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
2023-11-20 18:58:30 +00:00
using Continuity.AuthServer.DB.Documents;
2023-11-16 11:06:36 +00:00
using JetBrains.Annotations;
2023-11-19 16:07:28 +00:00
using Microsoft.EntityFrameworkCore;
2023-11-16 11:06:36 +00:00
namespace Continuity.AuthServer.DB;
2023-08-10 08:47:35 +00:00
2023-08-14 11:49:27 +00:00
public class WonderkingContext : DbContext
2023-08-10 08:47:35 +00:00
{
2023-11-16 11:06:36 +00:00
public WonderkingContext([NotNull] DbContextOptions options) : base(options)
2023-08-10 08:47:35 +00:00
{
}
2023-08-14 19:30:32 +00:00
public DbSet<Account> Accounts { get; set; }
2023-08-14 20:30:35 +00:00
public DbSet<Character> Characters { get; set; }
2023-11-20 18:50:09 +00:00
public DbSet<InventoryItem> InventoryItems { get; set; }
public DbSet<Guild> Guilds { get; set; }
2023-08-11 09:31:30 +00:00
}