123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- // <auto-generated />
- using System;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore.Infrastructure;
- using Microsoft.EntityFrameworkCore.Migrations;
- using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
- using Repository;
- namespace Repository.Migrations
- {
- [DbContext(typeof(TeamDataContext))]
- [Migration("20230208053039_AddTableParamLogUserName")]
- partial class AddTableParamLogUserName
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- #pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "3.1.32");
- modelBuilder.Entity("Repository.Entiies.ParamLog", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<string>("Content")
- .HasColumnType("TEXT");
- b.Property<DateTime>("Occured")
- .HasColumnType("TEXT");
- b.Property<int>("OperateAction")
- .HasColumnType("INTEGER");
- b.Property<string>("OperateObject")
- .HasColumnType("TEXT");
- b.Property<string>("UserName")
- .HasColumnType("TEXT");
- b.HasKey("Id");
- b.ToTable("ParamLogs");
- });
- modelBuilder.Entity("Repository.Entiies.TestResult", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<string>("Barcode")
- .HasColumnType("TEXT");
- b.Property<DateTime>("Datetime")
- .HasColumnType("TEXT");
- b.Property<int>("Juge")
- .HasColumnType("INTEGER");
- b.Property<double>("Result")
- .HasColumnType("REAL");
- b.HasKey("Id");
- b.ToTable("ProductResult");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|