20230208052145_AddTableParamLog.Designer.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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("20230208052145_AddTableParamLog")]
  12. partial class AddTableParamLog
  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.HasKey("Id");
  33. b.ToTable("ParamLogs");
  34. });
  35. modelBuilder.Entity("Repository.Entiies.TestResult", b =>
  36. {
  37. b.Property<Guid>("Id")
  38. .ValueGeneratedOnAdd()
  39. .HasColumnType("TEXT");
  40. b.Property<string>("Barcode")
  41. .HasColumnType("TEXT");
  42. b.Property<DateTime>("Datetime")
  43. .HasColumnType("TEXT");
  44. b.Property<int>("Juge")
  45. .HasColumnType("INTEGER");
  46. b.Property<double>("Result")
  47. .HasColumnType("REAL");
  48. b.HasKey("Id");
  49. b.ToTable("ProductResult");
  50. });
  51. #pragma warning restore 612, 618
  52. }
  53. }
  54. }