// 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("20230209042543_AddStatisticsTable")] partial class AddStatisticsTable { 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.Property("UserName") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("ParamLogs"); }); modelBuilder.Entity("Repository.Entiies.StatisticsLog", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("RequstType") .HasColumnType("INTEGER"); b.Property("Timestamp") .HasColumnType("TEXT"); b.Property("TraceState") .HasColumnType("INTEGER"); b.HasKey("Id"); b.ToTable("StatisticsLogs"); }); 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 } } }