// using System; using DamageAssesment.Api.DocuLinks.Db; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace DamageAssesment.Api.DocuLinks.Migrations { [DbContext(typeof(DoculinkDbContext))] partial class DocumentDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "7.0.9") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("DamageAssesment.Api.DocuLinks.Db.Doculink", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CustomOrder") .HasColumnType("int"); b.Property("IsActive") .HasColumnType("bit"); b.Property("IsDeleted") .HasColumnType("bit"); b.Property("dateCreated") .HasColumnType("datetime2"); b.Property("dateUpdated") .HasColumnType("datetime2"); b.Property("linkTypeId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Documents"); }); modelBuilder.Entity("DamageAssesment.Api.DocuLinks.Db.DoculinkAttachments", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CustomOrder") .HasColumnType("int"); b.Property("DocumentId") .HasColumnType("int"); b.Property("IsAttachments") .HasColumnType("bit"); b.Property("Path") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("docName") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("DoclinksAttachments"); }); modelBuilder.Entity("DamageAssesment.Api.DocuLinks.Db.DoculinkTranslation", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DocumentId") .HasColumnType("int"); b.Property("Language") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("description") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("title") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("DocumentsTranslations"); }); modelBuilder.Entity("DamageAssesment.Api.DocuLinks.Db.LinkType", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CustomOrder") .HasColumnType("int"); b.Property("IsActive") .HasColumnType("bit"); b.HasKey("Id"); b.ToTable("LinkTypes"); }); modelBuilder.Entity("DamageAssesment.Api.DocuLinks.Db.LinksTranslation", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Language") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("LinkTypeId") .HasColumnType("int"); b.Property("TypeText") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("LinksTranslations"); }); #pragma warning restore 612, 618 } } }