1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- // <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("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<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.StatisticsLog", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<int>("RequstType")
- .HasColumnType("INTEGER");
- b.Property<DateTime>("Timestamp")
- .HasColumnType("TEXT");
- b.Property<int>("TraceState")
- .HasColumnType("INTEGER");
- b.HasKey("Id");
- b.ToTable("StatisticsLogs");
- });
- 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
- }
- }
- }
|