// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ServerManagement.Data;

#nullable disable

namespace ServerManagement.Migrations
{
    [DbContext(typeof(ServerManagementContext))]
    partial class ServerManagementContextModelSnapshot : ModelSnapshot
    {
        protected override void BuildModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder.HasAnnotation("ProductVersion", "9.0.4");

            modelBuilder.Entity("ServerManagement.Models.Server", b =>
                {
                    b.Property<int>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("INTEGER");

                    b.Property<string>("City")
                        .IsRequired()
                        .HasColumnType("TEXT");

                    b.Property<bool>("IsOnline")
                        .HasColumnType("INTEGER");

                    b.Property<string>("Name")
                        .IsRequired()
                        .HasColumnType("TEXT");

                    b.HasKey("Id");

                    b.ToTable("Servers");

                    b.HasData(
                        new
                        {
                            Id = 1,
                            City = "Eindhoven",
                            IsOnline = true,
                            Name = "Server1"
                        },
                        new
                        {
                            Id = 2,
                            City = "Eindhoven",
                            IsOnline = true,
                            Name = "Server2"
                        },
                        new
                        {
                            Id = 3,
                            City = "Eindhoven",
                            IsOnline = false,
                            Name = "Server3"
                        },
                        new
                        {
                            Id = 4,
                            City = "Eindhoven",
                            IsOnline = true,
                            Name = "Server4"
                        },
                        new
                        {
                            Id = 5,
                            City = "Helmond",
                            IsOnline = true,
                            Name = "Server5"
                        },
                        new
                        {
                            Id = 6,
                            City = "Helmond",
                            IsOnline = false,
                            Name = "Server6"
                        },
                        new
                        {
                            Id = 7,
                            City = "Helmond",
                            IsOnline = true,
                            Name = "Server7"
                        },
                        new
                        {
                            Id = 8,
                            City = "Oosterhout",
                            IsOnline = true,
                            Name = "Server8"
                        },
                        new
                        {
                            Id = 9,
                            City = "Oosterhout",
                            IsOnline = true,
                            Name = "Server9"
                        },
                        new
                        {
                            Id = 10,
                            City = "Roosendaal",
                            IsOnline = false,
                            Name = "Server10"
                        },
                        new
                        {
                            Id = 11,
                            City = "Roosendaal",
                            IsOnline = false,
                            Name = "Server11"
                        },
                        new
                        {
                            Id = 12,
                            City = "Deurne",
                            IsOnline = false,
                            Name = "Server12"
                        },
                        new
                        {
                            Id = 13,
                            City = "Deurne",
                            IsOnline = true,
                            Name = "Server13"
                        });
                });
#pragma warning restore 612, 618
        }
    }
}
