TeamDataContextModelSnapshot.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. // <auto-generated />
  2. using System;
  3. using Microsoft.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore.Infrastructure;
  5. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  6. using Repository;
  7. namespace Repository.Migrations
  8. {
  9. [DbContext(typeof(TeamDataContext))]
  10. partial class TeamDataContextModelSnapshot : ModelSnapshot
  11. {
  12. protected override void BuildModel(ModelBuilder modelBuilder)
  13. {
  14. #pragma warning disable 612, 618
  15. modelBuilder
  16. .HasAnnotation("ProductVersion", "3.1.32");
  17. modelBuilder.Entity("Repository.Entiies.Information", b =>
  18. {
  19. b.Property<Guid>("Id")
  20. .ValueGeneratedOnAdd()
  21. .HasColumnType("TEXT");
  22. b.Property<DateTime>("CreateTime")
  23. .HasColumnType("TEXT");
  24. b.Property<string>("OperatorCode")
  25. .HasColumnType("TEXT");
  26. b.Property<string>("ProCode")
  27. .HasColumnType("TEXT");
  28. b.Property<int>("SpendTime")
  29. .HasColumnType("INTEGER");
  30. b.HasKey("Id");
  31. b.ToTable("Informations");
  32. });
  33. modelBuilder.Entity("Repository.Entiies.ParamLog", b =>
  34. {
  35. b.Property<Guid>("Id")
  36. .ValueGeneratedOnAdd()
  37. .HasColumnType("TEXT");
  38. b.Property<string>("Content")
  39. .HasColumnType("TEXT");
  40. b.Property<DateTime>("Occured")
  41. .HasColumnType("TEXT");
  42. b.Property<int>("OperateAction")
  43. .HasColumnType("INTEGER");
  44. b.Property<string>("OperateObject")
  45. .HasColumnType("TEXT");
  46. b.Property<string>("UserName")
  47. .HasColumnType("TEXT");
  48. b.HasKey("Id");
  49. b.ToTable("ParamLogs");
  50. });
  51. modelBuilder.Entity("Repository.Entiies.StatisticsLog", b =>
  52. {
  53. b.Property<Guid>("Id")
  54. .ValueGeneratedOnAdd()
  55. .HasColumnType("TEXT");
  56. b.Property<int>("RequestCode")
  57. .HasColumnType("INTEGER");
  58. b.Property<int>("RequstType")
  59. .HasColumnType("INTEGER");
  60. b.Property<DateTime>("Timestamp")
  61. .HasColumnType("TEXT");
  62. b.Property<int>("TraceState")
  63. .HasColumnType("INTEGER");
  64. b.HasKey("Id");
  65. b.ToTable("StatisticsLogs");
  66. });
  67. modelBuilder.Entity("Repository.Entiies.TestResult", b =>
  68. {
  69. b.Property<Guid>("Id")
  70. .ValueGeneratedOnAdd()
  71. .HasColumnType("TEXT");
  72. b.Property<string>("Barcode")
  73. .HasColumnType("TEXT");
  74. b.Property<DateTime>("Datetime")
  75. .HasColumnType("TEXT");
  76. b.Property<int>("Juge")
  77. .HasColumnType("INTEGER");
  78. b.Property<double>("Result")
  79. .HasColumnType("REAL");
  80. b.HasKey("Id");
  81. b.ToTable("ProductResult");
  82. });
  83. #pragma warning restore 612, 618
  84. }
  85. }
  86. }