continuity/Server/DB/WonderkingContext.cs

20 lines
547 B
C#
Raw Normal View History

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