20230209042543_AddStatisticsTable.Designer.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 Repository;
  8. namespace Repository.Migrations
  9. {
  10. [DbContext(typeof(TeamDataContext))]
  11. [Migration("20230209042543_AddStatisticsTable")]
  12. partial class AddStatisticsTable
  13. {
  14. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  15. {
  16. #pragma warning disable 612, 618
  17. modelBuilder
  18. .HasAnnotation("ProductVersion", "3.1.32");
  19. modelBuilder.Entity("Repository.Entiies.ParamLog", b =>
  20. {
  21. b.Property<Guid>("Id")
  22. .ValueGeneratedOnAdd()
  23. .HasColumnType("TEXT");
  24. b.Property<string>("Content")
  25. .HasColumnType("TEXT");
  26. b.Property<DateTime>("Occured")
  27. .HasColumnType("TEXT");
  28. b.Property<int>("OperateAction")
  29. .HasColumnType("INTEGER");
  30. b.Property<string>("OperateObject")
  31. .HasColumnType("TEXT");
  32. b.Property<string>("UserName")
  33. .HasColumnType("TEXT");
  34. b.HasKey("Id");
  35. b.ToTable("ParamLogs");
  36. });
  37. modelBuilder.Entity("Repository.Entiies.StatisticsLog", b =>
  38. {
  39. b.Property<Guid>("Id")
  40. .ValueGeneratedOnAdd()
  41. .HasColumnType("TEXT");
  42. b.Property<int>("RequstType")
  43. .HasColumnType("INTEGER");
  44. b.Property<DateTime>("Timestamp")
  45. .HasColumnType("TEXT");
  46. b.Property<int>("TraceState")
  47. .HasColumnType("INTEGER");
  48. b.HasKey("Id");
  49. b.ToTable("StatisticsLogs");
  50. });
  51. modelBuilder.Entity("Repository.Entiies.TestResult", b =>
  52. {
  53. b.Property<Guid>("Id")
  54. .ValueGeneratedOnAdd()
  55. .HasColumnType("TEXT");
  56. b.Property<string>("Barcode")
  57. .HasColumnType("TEXT");
  58. b.Property<DateTime>("Datetime")
  59. .HasColumnType("TEXT");
  60. b.Property<int>("Juge")
  61. .HasColumnType("INTEGER");
  62. b.Property<double>("Result")
  63. .HasColumnType("REAL");
  64. b.HasKey("Id");
  65. b.ToTable("ProductResult");
  66. });
  67. #pragma warning restore 612, 618
  68. }
  69. }
  70. }