// using FinancialApi.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace FinancialApi.Infrastructure.Migrations { [DbContext(typeof(AccountDbContext))] partial class AccountDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "10.0.9"); modelBuilder.Entity("FinancialApi.Application.Account", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Balance") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Accounts"); b.HasData( new { Id = 1, Balance = 100.00m }, new { Id = 2, Balance = 500.00m }); }); #pragma warning restore 612, 618 } } }