20230209043304_UpdateStatisticsTable.Designer.cs 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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("20230209043304_UpdateStatisticsTable")]
  12. partial class UpdateStatisticsTable
  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>("RequestCode")
  43. .HasColumnType("INTEGER");
  44. b.Property<int>("RequstType")
  45. .HasColumnType("INTEGER");
  46. b.Property<DateTime>("Timestamp")
  47. .HasColumnType("TEXT");
  48. b.Property<int>("TraceState")
  49. .HasColumnType("INTEGER");
  50. b.HasKey("Id");
  51. b.ToTable("StatisticsLogs");
  52. });
  53. modelBuilder.Entity("Repository.Entiies.TestResult", b =>
  54. {
  55. b.Property<Guid>("Id")
  56. .ValueGeneratedOnAdd()
  57. .HasColumnType("TEXT");
  58. b.Property<string>("Barcode")
  59. .HasColumnType("TEXT");
  60. b.Property<DateTime>("Datetime")
  61. .HasColumnType("TEXT");
  62. b.Property<int>("Juge")
  63. .HasColumnType("INTEGER");
  64. b.Property<double>("Result")
  65. .HasColumnType("REAL");
  66. b.HasKey("Id");
  67. b.ToTable("ProductResult");
  68. });
  69. #pragma warning restore 612, 618
  70. }
  71. }
  72. }