// using System; using Edge.Core.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Edge.Core.Database.Migrations { [DbContext(typeof(SqliteDbContext))] [Migration("20180626102740_InitialCreate")] partial class InitialCreate { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "2.1.0-rtm-30799"); modelBuilder.Entity("Common.Models.FuelPointReservation", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("FuelPointId"); b.Property("ReservedByFdcClientId"); b.Property("ReservingTime"); b.HasKey("Id"); b.ToTable("FuelPointReservationModels"); }); modelBuilder.Entity("Common.Models.FuelPriceChange", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("FinishTime"); b.Property("LogicalNozzleId"); b.Property("NewPriceWithoutDecimal"); b.Property("PumpId"); b.Property("StartTime"); b.HasKey("Id"); b.ToTable("FuelPriceChanges"); }); modelBuilder.Entity("Common.Models.FuelSaleTransaction", b => { b.Property("ReleaseToken") .ValueGeneratedOnAdd(); b.Property("Amount"); b.Property("AmountTotalizer"); b.Property("AuthorizedByFdcClientId"); b.Property("AuthorizedTime"); b.Property("LockedByFdcClientId"); b.Property("LockedTime"); b.Property("LogicalNozzleId"); b.Property("PaidByFdcClientId"); b.Property("PaidTime"); b.Property("ProductBarcode"); b.Property("PumpId"); b.Property("SaleEndTime"); b.Property("SaleStartTime"); b.Property("State"); b.Property("TransactionSeqNumberFromPhysicalPump"); b.Property("UnitPrice"); b.Property("VolumeTotalizer"); b.Property("Volumn"); b.HasKey("ReleaseToken"); b.ToTable("PumpTransactionModels"); }); #pragma warning restore 612, 618 } } }