20230208053039_AddTableParamLogUserName.Designer.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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("20230208053039_AddTableParamLogUserName")]
  12. partial class AddTableParamLogUserName
  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.TestResult", b =>
  38. {
  39. b.Property<Guid>("Id")
  40. .ValueGeneratedOnAdd()
  41. .HasColumnType("TEXT");
  42. b.Property<string>("Barcode")
  43. .HasColumnType("TEXT");
  44. b.Property<DateTime>("Datetime")
  45. .HasColumnType("TEXT");
  46. b.Property<int>("Juge")
  47. .HasColumnType("INTEGER");
  48. b.Property<double>("Result")
  49. .HasColumnType("REAL");
  50. b.HasKey("Id");
  51. b.ToTable("ProductResult");
  52. });
  53. #pragma warning restore 612, 618
  54. }
  55. }
  56. }