// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Sample.MySql.DbContexts; #nullable disable namespace Sample.MySql.Migrations { [DbContext(typeof(DefaultShardingDbContext))] partial class DefaultShardingDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "6.0.6") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("Sample.MySql.Domain.Entities.SysTest", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("varchar(128)"); b.Property("UserId") .IsConcurrencyToken() .IsRequired() .HasMaxLength(128) .HasColumnType("varchar(128)"); b.HasKey("Id"); b.ToTable("SysTest", (string)null); }); modelBuilder.Entity("Sample.MySql.Domain.Entities.SysUserLogByMonth", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("varchar(128)"); b.Property("Time") .HasColumnType("datetime"); b.HasKey("Id"); b.ToTable("SysUserLogByMonth", (string)null); }); modelBuilder.Entity("Sample.MySql.Domain.Entities.SysUserMod", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("varchar(128)"); b.Property("Age") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(128) .HasColumnType("varchar(128)"); b.HasKey("Id"); b.ToTable("SysUserMod", (string)null); }); #pragma warning restore 612, 618 } } }