123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- // <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("20240824062632_AddInformation")]
- partial class AddInformation
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- #pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "3.1.32");
- modelBuilder.Entity("Repository.Entiies.Information", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("TEXT");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TEXT");
- b.Property<string>("OperatorCode")
- .HasColumnType("TEXT");
- b.Property<string>("ProCode")
- .HasColumnType("TEXT");
- b.Property<int>("SpendTime")
- .HasColumnType("INTEGER");
- b.HasKey("Id");
- b.ToTable("Informations");
- });
- 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>("RequestCode")
- .HasColumnType("INTEGER");
- 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
- }
- }
- }
|