using MiaoYu.Repository.ChatAI.Admin.Entities; #nullable disable namespace MiaoYu.Repository.ChatAI.Admin.Migrations { [DbContext(typeof(ChatAdminDbContext))] public class ChatAdminDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity(entity => { entity.HasKey(e => e.Id).HasName("PK__T_Image___3214EC072BCFE4E5"); entity.ToTable(tb => tb.HasComment("图片表")); entity.Property(e => e.ImageId).HasComment("图片Id"); entity.Property(e => e.Name) .HasMaxLength(50) .HasComment("图片名称"); entity.Property(e => e.TenantId).HasComment("租户"); entity.Property(e => e.Url) .HasMaxLength(500) .HasComment("图片地址"); }); #pragma warning restore 612, 618 } } }