// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Portfolio.Infrastructure; #nullable disable namespace Portfolio.Infrastructure.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "9.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("Portfolio.Domain.Features.Pokemon.Pokemon", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("IsVariation") .HasColumnType("bit"); b.Property("PokemonId") .HasColumnType("int"); b.Property("PokemonName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SleepType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Speciality") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("VariationName") .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("Pokemons"); b.HasData( new { Id = 1, IsVariation = false, PokemonId = 1, PokemonName = "Bulbasaur", SleepType = "Dozing", Speciality = "Ingredients" }, new { Id = 2, IsVariation = false, PokemonId = 2, PokemonName = "Ivysaur", SleepType = "Dozing", Speciality = "Ingredients" }, new { Id = 3, IsVariation = false, PokemonId = 3, PokemonName = "Venasaur", SleepType = "Dozing", Speciality = "Ingredients" }, new { Id = 4, IsVariation = false, PokemonId = 4, PokemonName = "Charmander", SleepType = "Snoozing", Speciality = "Ingredients" }, new { Id = 5, IsVariation = false, PokemonId = 5, PokemonName = "Charmeleon", SleepType = "Snoozing", Speciality = "Ingredients" }, new { Id = 6, IsVariation = false, PokemonId = 6, PokemonName = "Charizard", SleepType = "Snoozing", Speciality = "Ingredients" }, new { Id = 7, IsVariation = false, PokemonId = 7, PokemonName = "Squirtle", SleepType = "Slumbering", Speciality = "Ingredients" }, new { Id = 8, IsVariation = false, PokemonId = 8, PokemonName = "Wartortle", SleepType = "Slumbering", Speciality = "Ingredients" }, new { Id = 9, IsVariation = false, PokemonId = 9, PokemonName = "Blastoise", SleepType = "Slumbering", Speciality = "Ingredients" }, new { Id = 10, IsVariation = false, PokemonId = 10, PokemonName = "Caterpie", SleepType = "Dozing", Speciality = "Berries" }, new { Id = 11, IsVariation = false, PokemonId = 11, PokemonName = "Metapod", SleepType = "Dozing", Speciality = "Berries" }, new { Id = 12, IsVariation = false, PokemonId = 12, PokemonName = "Butterfree", SleepType = "Dozing", Speciality = "Berries" }, new { Id = 13, IsVariation = false, PokemonId = 19, PokemonName = "Rattata", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 14, IsVariation = false, PokemonId = 20, PokemonName = "Raticate", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 15, IsVariation = false, PokemonId = 23, PokemonName = "Ekans", SleepType = "Dozing", Speciality = "Berries" }, new { Id = 16, IsVariation = false, PokemonId = 24, PokemonName = "Arbok", SleepType = "Dozing", Speciality = "Berries" }, new { Id = 17, IsVariation = false, PokemonId = 25, PokemonName = "Pikachu", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 18, IsVariation = false, PokemonId = 26, PokemonName = "Raticate", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 19, IsVariation = false, PokemonId = 35, PokemonName = "Clefairy", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 20, IsVariation = false, PokemonId = 36, PokemonName = "Clefable", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 21, IsVariation = false, PokemonId = 37, PokemonName = "Vulpix", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 22, IsVariation = false, PokemonId = 38, PokemonName = "Ninetails", SleepType = "Snoozing", Speciality = "Berries" }, new { Id = 23, IsVariation = true, PokemonId = 37, PokemonName = "Vulpix", SleepType = "Slumbering", Speciality = "Berries", VariationName = "Alolan" }, new { Id = 24, IsVariation = true, PokemonId = 38, PokemonName = "Ninetails", SleepType = "Slumbering", Speciality = "Berries", VariationName = "Alolan" }); }); modelBuilder.Entity("Portfolio.Domain.Features.Pokemon_Natures.PokemonNatures", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BerryRating") .HasColumnType("int"); b.Property("IngredientRating") .HasColumnType("int"); b.Property("Nature") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SkillRating") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("PokemonNatures"); }); modelBuilder.Entity("Portfolio.Domain.Features.Pokemon_Subskills.PokemonSubskills", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BerryRank") .HasColumnType("int"); b.Property("IngredientRank") .HasColumnType("int"); b.Property("SkillRank") .HasColumnType("int"); b.Property("SubSkill") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("PokemonSubskills"); }); #pragma warning restore 612, 618 } } }