using Microsoft.EntityFrameworkCore;
using Watcher.Models;

namespace Watcher.Data;

public class AppDbContext : DbContext
{
    public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }

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

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

    public DbSet<Image> Images { get; set; }

    public DbSet<LogEvent> LogEvents { get; set; }

    public DbSet<Metric> Metrics { get; set; }

    public DbSet<Tag> Tags { get; set; }

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

}


