20180626102740_InitialCreate.Designer.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // <auto-generated />
  2. using System;
  3. using Edge.Core.Database;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Migrations;
  7. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  8. namespace Edge.Core.Database.Migrations
  9. {
  10. [DbContext(typeof(SqliteDbContext))]
  11. [Migration("20180626102740_InitialCreate")]
  12. partial class InitialCreate
  13. {
  14. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  15. {
  16. #pragma warning disable 612, 618
  17. modelBuilder
  18. .HasAnnotation("ProductVersion", "2.1.0-rtm-30799");
  19. modelBuilder.Entity("Common.Models.FuelPointReservation", b =>
  20. {
  21. b.Property<int>("Id")
  22. .ValueGeneratedOnAdd();
  23. b.Property<int>("FuelPointId");
  24. b.Property<int>("ReservedByFdcClientId");
  25. b.Property<DateTime>("ReservingTime");
  26. b.HasKey("Id");
  27. b.ToTable("FuelPointReservationModels");
  28. });
  29. modelBuilder.Entity("Common.Models.FuelPriceChange", b =>
  30. {
  31. b.Property<int>("Id")
  32. .ValueGeneratedOnAdd();
  33. b.Property<DateTime?>("FinishTime");
  34. b.Property<int>("LogicalNozzleId");
  35. b.Property<int>("NewPriceWithoutDecimal");
  36. b.Property<int>("PumpId");
  37. b.Property<DateTime>("StartTime");
  38. b.HasKey("Id");
  39. b.ToTable("FuelPriceChanges");
  40. });
  41. modelBuilder.Entity("Common.Models.FuelSaleTransaction", b =>
  42. {
  43. b.Property<int>("ReleaseToken")
  44. .ValueGeneratedOnAdd();
  45. b.Property<int>("Amount");
  46. b.Property<int>("AmountTotalizer");
  47. b.Property<string>("AuthorizedByFdcClientId");
  48. b.Property<DateTime?>("AuthorizedTime");
  49. b.Property<string>("LockedByFdcClientId");
  50. b.Property<DateTime?>("LockedTime");
  51. b.Property<int>("LogicalNozzleId");
  52. b.Property<string>("PaidByFdcClientId");
  53. b.Property<DateTime?>("PaidTime");
  54. b.Property<string>("ProductBarcode");
  55. b.Property<int>("PumpId");
  56. b.Property<DateTime?>("SaleEndTime");
  57. b.Property<DateTime?>("SaleStartTime");
  58. b.Property<int>("State");
  59. b.Property<string>("TransactionSeqNumberFromPhysicalPump");
  60. b.Property<int>("UnitPrice");
  61. b.Property<int>("VolumeTotalizer");
  62. b.Property<int>("Volumn");
  63. b.HasKey("ReleaseToken");
  64. b.ToTable("PumpTransactionModels");
  65. });
  66. #pragma warning restore 612, 618
  67. }
  68. }
  69. }