// using System; using DotnetToLambda.Core; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DotnetToLambda.Core.Infrastructure.Migrations { [DbContext(typeof(BookingContext))] partial class BookingContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "3.1.22") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("DotnetToLambda.Core.Booking", b => { b.Property("BookingId") .HasColumnType("varchar(767)"); b.Property("CancellationReason") .HasColumnType("text"); b.Property("ChargeId") .HasColumnType("text"); b.Property("ConfirmedOn") .HasColumnType("datetime"); b.Property("CustomerId") .HasColumnType("varchar(767)"); b.Property("OutboundFlightId") .HasColumnType("text"); b.Property("Status") .HasColumnType("int"); b.HasKey("BookingId") .HasName("PK_BookingId"); b.HasIndex("CustomerId") .HasName("UX_Booking_CustomerId"); b.ToTable("Bookings"); }); #pragma warning restore 612, 618 } } }