// using System; using JiShe.CollectBus.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace JiShe.CollectBus.EntityFrameworkCore.Migrations { [DbContext(typeof(CollectBusDbContext))] partial class CollectBusDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("Relational:MaxIdentifierLength", 64); MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder); modelBuilder.Entity("JiShe.CollectBus.EntityFrameworkCore.Device", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("CreationTime") .HasColumnType("datetime(6)"); b.Property("CreatorId") .HasColumnType("bigint"); b.Property("DeviceNo") .IsRequired() .HasColumnType("longtext"); b.Property("DeviceStatus") .HasColumnType("int"); b.Property("LastModificationTime") .HasColumnType("datetime(6)"); b.Property("LastModifierId") .HasColumnType("bigint"); b.HasKey("Id"); b.ToTable("Devices"); }); #pragma warning restore 612, 618 } } }