using System.Data.Common;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using watcher_monitoring.Data;
using watcher_monitoring.Models;

namespace watcher_monitoring.Data;

public class WatcherDbContext : DbContext
{
    private readonly IConfiguration _configuration;

    public WatcherDbContext(DbContextOptions<WatcherDbContext> options, IConfiguration configuration)
        : base(options)
    {
        _configuration = configuration;
    }

    public DbSet<Server> Servers { get; set; }
    public DbSet<User> Users { get; set; }

    public DbSet<Container> Containers { get; set; }

    public DbSet<ApiKey> ApiKeys { get; set; }

}