20221115044729_202211151242.Designer.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // <auto-generated />
  2. using System;
  3. using Microsoft.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore.Infrastructure;
  5. using Microsoft.EntityFrameworkCore.Migrations;
  6. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  7. using Safeguard.EntityFramework;
  8. #nullable disable
  9. namespace Safeguard.Migrations
  10. {
  11. [DbContext(typeof(Context))]
  12. [Migration("20221115044729_202211151242")]
  13. partial class _202211151242
  14. {
  15. /// <inheritdoc />
  16. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  17. {
  18. #pragma warning disable 612, 618
  19. modelBuilder.HasAnnotation("ProductVersion", "7.0.0");
  20. modelBuilder.Entity("Safeguard.Models.HostMqttInfo", b =>
  21. {
  22. b.Property<Guid>("Id")
  23. .ValueGeneratedOnAdd()
  24. .HasColumnType("TEXT");
  25. b.Property<string>("IPAddress")
  26. .HasColumnType("TEXT");
  27. b.Property<int?>("Port")
  28. .HasColumnType("INTEGER");
  29. b.HasKey("Id");
  30. b.ToTable("HostMqttInfos");
  31. });
  32. modelBuilder.Entity("Safeguard.Models.MCConfig", b =>
  33. {
  34. b.Property<Guid>("Id")
  35. .ValueGeneratedOnAdd()
  36. .HasColumnType("TEXT");
  37. b.Property<string>("JsonString")
  38. .HasColumnType("TEXT");
  39. b.Property<string>("Name")
  40. .HasColumnType("TEXT");
  41. b.HasKey("Id");
  42. b.ToTable("MCConfigs");
  43. });
  44. #pragma warning restore 612, 618
  45. }
  46. }
  47. }