SqliteDbContextModelSnapshot.cs 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. // <auto-generated />
  2. using System;
  3. using Edge.Core.Database;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  7. namespace Edge.Core.Database.Migrations
  8. {
  9. [DbContext(typeof(SqliteDbContext))]
  10. partial class SqliteDbContextModelSnapshot : ModelSnapshot
  11. {
  12. protected override void BuildModel(ModelBuilder modelBuilder)
  13. {
  14. #pragma warning disable 612, 618
  15. modelBuilder
  16. .HasAnnotation("ProductVersion", "5.0.5");
  17. modelBuilder.Entity("Edge.Core.Database.Configuration.Models.ProcessorMetaConfigDbModel", b =>
  18. {
  19. b.Property<int>("Id")
  20. .ValueGeneratedOnAdd()
  21. .HasColumnType("INTEGER");
  22. b.Property<bool>("Activated")
  23. .HasColumnType("INTEGER");
  24. b.Property<string>("Description")
  25. .HasColumnType("TEXT");
  26. b.Property<string>("Name")
  27. .IsRequired()
  28. .HasColumnType("TEXT");
  29. b.Property<DateTime>("TimeStamp")
  30. .HasColumnType("TEXT");
  31. b.Property<int>("Type")
  32. .HasColumnType("INTEGER");
  33. b.HasKey("Id");
  34. b.HasIndex("Name")
  35. .IsUnique();
  36. b.HasIndex("TimeStamp");
  37. b.ToTable("ProcessorMetaConfigs");
  38. });
  39. modelBuilder.Entity("Edge.Core.Database.Configuration.Models.ProcessorMetaPartsMetaConfigDbModel", b =>
  40. {
  41. b.Property<int>("Id")
  42. .ValueGeneratedOnAdd()
  43. .HasColumnType("INTEGER");
  44. b.Property<string>("FullTypeString")
  45. .IsRequired()
  46. .HasColumnType("TEXT");
  47. b.Property<string>("ParametersJsonArrayStr")
  48. .HasColumnType("TEXT");
  49. b.Property<int>("ProcessorMetaConfigId")
  50. .HasColumnType("INTEGER");
  51. b.Property<int>("Type")
  52. .HasColumnType("INTEGER");
  53. b.HasKey("Id");
  54. b.HasIndex("ProcessorMetaConfigId", "Type")
  55. .IsUnique();
  56. b.ToTable("ProcessorMetaPartsMetaConfigs");
  57. });
  58. modelBuilder.Entity("Edge.Core.Database.Models.FuelPointReservation", b =>
  59. {
  60. b.Property<int>("Id")
  61. .ValueGeneratedOnAdd()
  62. .HasColumnType("INTEGER");
  63. b.Property<int>("FuelPointId")
  64. .HasColumnType("INTEGER");
  65. b.Property<int>("ReservedByFdcClientId")
  66. .HasColumnType("INTEGER");
  67. b.Property<DateTime>("ReservingTime")
  68. .HasColumnType("TEXT");
  69. b.HasKey("Id");
  70. b.ToTable("FuelPointReservationModels");
  71. });
  72. modelBuilder.Entity("Edge.Core.Database.Models.FuelPriceChange", b =>
  73. {
  74. b.Property<int>("Id")
  75. .ValueGeneratedOnAdd()
  76. .HasColumnType("INTEGER");
  77. b.Property<DateTime?>("FinishTime")
  78. .HasColumnType("TEXT");
  79. b.Property<int>("LogicalNozzleId")
  80. .HasColumnType("INTEGER");
  81. b.Property<int>("NewPriceWithoutDecimal")
  82. .HasColumnType("INTEGER");
  83. b.Property<int>("PumpId")
  84. .HasColumnType("INTEGER");
  85. b.Property<DateTime>("StartTime")
  86. .HasColumnType("TEXT");
  87. b.HasKey("Id");
  88. b.ToTable("FuelPriceChanges");
  89. });
  90. modelBuilder.Entity("Edge.Core.Database.Models.FuelSaleTransaction", b =>
  91. {
  92. b.Property<int>("ReleaseToken")
  93. .ValueGeneratedOnAdd()
  94. .HasColumnType("INTEGER");
  95. b.Property<int>("Amount")
  96. .HasColumnType("INTEGER");
  97. b.Property<int>("AmountTotalizer")
  98. .HasColumnType("INTEGER");
  99. b.Property<string>("AuthorizedByFdcClientId")
  100. .HasColumnType("TEXT");
  101. b.Property<DateTime?>("AuthorizedTime")
  102. .HasColumnType("TEXT");
  103. b.Property<string>("LockedByFdcClientId")
  104. .HasColumnType("TEXT");
  105. b.Property<DateTime?>("LockedTime")
  106. .HasColumnType("TEXT");
  107. b.Property<int>("LogicalNozzleId")
  108. .HasColumnType("INTEGER");
  109. b.Property<string>("PaidByFdcClientId")
  110. .HasColumnType("TEXT");
  111. b.Property<DateTime?>("PaidTime")
  112. .HasColumnType("TEXT");
  113. b.Property<string>("ProductBarcode")
  114. .HasColumnType("TEXT");
  115. b.Property<int>("PumpId")
  116. .HasColumnType("INTEGER");
  117. b.Property<DateTime?>("SaleEndTime")
  118. .HasColumnType("TEXT");
  119. b.Property<DateTime?>("SaleStartTime")
  120. .HasColumnType("TEXT");
  121. b.Property<int>("State")
  122. .HasColumnType("INTEGER");
  123. b.Property<string>("TransactionSeqNumberFromPhysicalPump")
  124. .HasColumnType("TEXT");
  125. b.Property<int>("UnitPrice")
  126. .HasColumnType("INTEGER");
  127. b.Property<int>("VolumeTotalizer")
  128. .HasColumnType("INTEGER");
  129. b.Property<int>("Volumn")
  130. .HasColumnType("INTEGER");
  131. b.HasKey("ReleaseToken");
  132. b.ToTable("PumpTransactionModels");
  133. });
  134. modelBuilder.Entity("Edge.Core.Database.Models.GenericAlarmDbModel", b =>
  135. {
  136. b.Property<int>("Id")
  137. .ValueGeneratedOnAdd()
  138. .HasColumnType("INTEGER");
  139. b.Property<string>("AckedReason")
  140. .HasColumnType("TEXT");
  141. b.Property<DateTime?>("AckedTimestamp")
  142. .HasColumnType("TEXT");
  143. b.Property<string>("Action")
  144. .HasColumnType("TEXT");
  145. b.Property<string>("Category")
  146. .HasColumnType("TEXT");
  147. b.Property<string>("ClosedReason")
  148. .HasColumnType("TEXT");
  149. b.Property<DateTime?>("ClosedTimestamp")
  150. .HasColumnType("TEXT");
  151. b.Property<string>("Detail")
  152. .HasColumnType("TEXT");
  153. b.Property<string>("HiddenData")
  154. .HasColumnType("TEXT");
  155. b.Property<DateTime>("OpeningTimestamp")
  156. .HasColumnType("TEXT");
  157. b.Property<string>("OriginatorDisplayName")
  158. .HasColumnType("TEXT");
  159. b.Property<string>("ProcessorEndpointFullTypeStr")
  160. .HasColumnType("TEXT");
  161. b.Property<int>("Severity")
  162. .HasColumnType("INTEGER");
  163. b.Property<string>("SubCategory")
  164. .HasColumnType("TEXT");
  165. b.Property<string>("Title")
  166. .HasColumnType("TEXT");
  167. b.HasKey("Id");
  168. b.HasIndex("ClosedTimestamp");
  169. b.HasIndex("HiddenData");
  170. b.HasIndex("OpeningTimestamp");
  171. b.HasIndex("ProcessorEndpointFullTypeStr");
  172. b.HasIndex("Severity");
  173. b.HasIndex("Category", "SubCategory");
  174. b.HasIndex("OriginatorDisplayName", "OpeningTimestamp", "ClosedTimestamp");
  175. b.ToTable("GenericAlarms");
  176. });
  177. modelBuilder.Entity("Edge.Core.Database.Models.GenericData", b =>
  178. {
  179. b.Property<int>("Id")
  180. .ValueGeneratedOnAdd()
  181. .HasColumnType("INTEGER");
  182. b.Property<string>("ComplexData")
  183. .HasColumnType("TEXT");
  184. b.Property<DateTime?>("CreatedTimeStamp")
  185. .HasColumnType("TEXT");
  186. b.Property<string>("Description")
  187. .HasColumnType("TEXT");
  188. b.Property<double?>("DoubleProperty0")
  189. .HasColumnType("REAL");
  190. b.Property<double?>("DoubleProperty1")
  191. .HasColumnType("REAL");
  192. b.Property<double?>("DoubleProperty2")
  193. .HasColumnType("REAL");
  194. b.Property<double?>("DoubleProperty3")
  195. .HasColumnType("REAL");
  196. b.Property<double?>("DoubleProperty4")
  197. .HasColumnType("REAL");
  198. b.Property<double?>("DoubleProperty5")
  199. .HasColumnType("REAL");
  200. b.Property<double?>("DoubleProperty6")
  201. .HasColumnType("REAL");
  202. b.Property<double?>("DoubleProperty7")
  203. .HasColumnType("REAL");
  204. b.Property<double?>("DoubleProperty8")
  205. .HasColumnType("REAL");
  206. b.Property<double?>("DoubleProperty9")
  207. .HasColumnType("REAL");
  208. b.Property<int?>("IntProperty0")
  209. .HasColumnType("INTEGER");
  210. b.Property<int?>("IntProperty1")
  211. .HasColumnType("INTEGER");
  212. b.Property<int?>("IntProperty2")
  213. .HasColumnType("INTEGER");
  214. b.Property<int?>("IntProperty3")
  215. .HasColumnType("INTEGER");
  216. b.Property<int?>("IntProperty4")
  217. .HasColumnType("INTEGER");
  218. b.Property<int?>("IntProperty5")
  219. .HasColumnType("INTEGER");
  220. b.Property<int?>("IntProperty6")
  221. .HasColumnType("INTEGER");
  222. b.Property<int?>("IntProperty7")
  223. .HasColumnType("INTEGER");
  224. b.Property<int?>("IntProperty8")
  225. .HasColumnType("INTEGER");
  226. b.Property<int?>("IntProperty9")
  227. .HasColumnType("INTEGER");
  228. b.Property<DateTime?>("ModifiedTimeStamp")
  229. .HasColumnType("TEXT");
  230. b.Property<string>("Owner")
  231. .IsRequired()
  232. .HasColumnType("TEXT");
  233. b.Property<string>("State")
  234. .HasColumnType("TEXT");
  235. b.Property<string>("StrProperty0")
  236. .HasColumnType("TEXT");
  237. b.Property<string>("StrProperty1")
  238. .HasColumnType("TEXT");
  239. b.Property<string>("StrProperty2")
  240. .HasColumnType("TEXT");
  241. b.Property<string>("StrProperty3")
  242. .HasColumnType("TEXT");
  243. b.Property<string>("StrProperty4")
  244. .HasColumnType("TEXT");
  245. b.Property<string>("StrProperty5")
  246. .HasColumnType("TEXT");
  247. b.Property<string>("StrProperty6")
  248. .HasColumnType("TEXT");
  249. b.Property<string>("StrProperty7")
  250. .HasColumnType("TEXT");
  251. b.Property<string>("StrProperty8")
  252. .HasColumnType("TEXT");
  253. b.Property<string>("StrProperty9")
  254. .HasColumnType("TEXT");
  255. b.Property<DateTime?>("TimeStampProperty0")
  256. .HasColumnType("TEXT");
  257. b.Property<DateTime?>("TimeStampProperty1")
  258. .HasColumnType("TEXT");
  259. b.Property<DateTime?>("TimeStampProperty2")
  260. .HasColumnType("TEXT");
  261. b.Property<DateTime?>("TimeStampProperty3")
  262. .HasColumnType("TEXT");
  263. b.Property<DateTime?>("TimeStampProperty4")
  264. .HasColumnType("TEXT");
  265. b.Property<string>("Type")
  266. .HasColumnType("TEXT");
  267. b.HasKey("Id");
  268. b.HasIndex("CreatedTimeStamp");
  269. b.HasIndex("DoubleProperty0");
  270. b.HasIndex("DoubleProperty1");
  271. b.HasIndex("DoubleProperty2");
  272. b.HasIndex("DoubleProperty3");
  273. b.HasIndex("DoubleProperty4");
  274. b.HasIndex("DoubleProperty5");
  275. b.HasIndex("DoubleProperty6");
  276. b.HasIndex("DoubleProperty7");
  277. b.HasIndex("DoubleProperty8");
  278. b.HasIndex("DoubleProperty9");
  279. b.HasIndex("IntProperty0");
  280. b.HasIndex("IntProperty1");
  281. b.HasIndex("IntProperty2");
  282. b.HasIndex("IntProperty3");
  283. b.HasIndex("IntProperty4");
  284. b.HasIndex("IntProperty5");
  285. b.HasIndex("IntProperty6");
  286. b.HasIndex("IntProperty7");
  287. b.HasIndex("IntProperty8");
  288. b.HasIndex("IntProperty9");
  289. b.HasIndex("ModifiedTimeStamp");
  290. b.HasIndex("Owner");
  291. b.HasIndex("State");
  292. b.HasIndex("StrProperty0");
  293. b.HasIndex("StrProperty1");
  294. b.HasIndex("StrProperty2");
  295. b.HasIndex("StrProperty3");
  296. b.HasIndex("StrProperty4");
  297. b.HasIndex("StrProperty5");
  298. b.HasIndex("StrProperty6");
  299. b.HasIndex("StrProperty7");
  300. b.HasIndex("StrProperty8");
  301. b.HasIndex("StrProperty9");
  302. b.HasIndex("TimeStampProperty0");
  303. b.HasIndex("TimeStampProperty1");
  304. b.HasIndex("TimeStampProperty2");
  305. b.HasIndex("TimeStampProperty3");
  306. b.HasIndex("TimeStampProperty4");
  307. b.HasIndex("Type");
  308. b.ToTable("GenericDatas");
  309. });
  310. modelBuilder.Entity("Edge.Core.Database.Configuration.Models.ProcessorMetaPartsMetaConfigDbModel", b =>
  311. {
  312. b.HasOne("Edge.Core.Database.Configuration.Models.ProcessorMetaConfigDbModel", "ProcessorMetaConfig")
  313. .WithMany("Parts")
  314. .HasForeignKey("ProcessorMetaConfigId")
  315. .OnDelete(DeleteBehavior.Cascade)
  316. .IsRequired();
  317. b.Navigation("ProcessorMetaConfig");
  318. });
  319. modelBuilder.Entity("Edge.Core.Database.Configuration.Models.ProcessorMetaConfigDbModel", b =>
  320. {
  321. b.Navigation("Parts");
  322. });
  323. #pragma warning restore 612, 618
  324. }
  325. }
  326. }