// 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("20230208052145_AddTableParamLog")] partial class AddTableParamLog { 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("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("Content") .HasColumnType("TEXT"); b.Property("Occured") .HasColumnType("TEXT"); b.Property("OperateAction") .HasColumnType("INTEGER"); b.Property("OperateObject") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("ParamLogs"); }); modelBuilder.Entity("Repository.Entiies.TestResult", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("Barcode") .HasColumnType("TEXT"); b.Property("Datetime") .HasColumnType("TEXT"); b.Property("Juge") .HasColumnType("INTEGER"); b.Property("Result") .HasColumnType("REAL"); b.HasKey("Id"); b.ToTable("ProductResult"); }); #pragma warning restore 612, 618 } } }