﻿using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using PHBGTU.Data;

namespace PHBGTU.Data.Migrations
{
    [DbContext(typeof(ApplicationDbContext))]
    [Migration("20170830085419_AddHeadingsToPage")]
    partial class AddHeadingsToPage
    {
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
            modelBuilder
                .HasAnnotation("ProductVersion", "1.1.2")
                .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole", b =>
                {
                    b.Property<string>("Id")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("ConcurrencyStamp")
                        .IsConcurrencyToken();

                    b.Property<string>("Name")
                        .HasMaxLength(256);

                    b.Property<string>("NormalizedName")
                        .HasMaxLength(256);

                    b.HasKey("Id");

                    b.HasIndex("NormalizedName")
                        .IsUnique()
                        .HasName("RoleNameIndex");

                    b.ToTable("IdentityRole");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<string>", b =>
                {
                    b.Property<int>("Id")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("ClaimType");

                    b.Property<string>("ClaimValue");

                    b.Property<string>("RoleId")
                        .IsRequired();

                    b.HasKey("Id");

                    b.HasIndex("RoleId");

                    b.ToTable("IdentityRoleClaim<string>");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<string>", b =>
                {
                    b.Property<int>("Id")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("ClaimType");

                    b.Property<string>("ClaimValue");

                    b.Property<string>("UserId")
                        .IsRequired();

                    b.HasKey("Id");

                    b.HasIndex("UserId");

                    b.ToTable("IdentityUserClaim<string>");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<string>", b =>
                {
                    b.Property<string>("LoginProvider");

                    b.Property<string>("ProviderKey");

                    b.Property<string>("ProviderDisplayName");

                    b.Property<string>("UserId")
                        .IsRequired();

                    b.HasKey("LoginProvider", "ProviderKey");

                    b.HasIndex("UserId");

                    b.ToTable("IdentityUserLogin<string>");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<string>", b =>
                {
                    b.Property<string>("UserId");

                    b.Property<string>("RoleId");

                    b.HasKey("UserId", "RoleId");

                    b.HasIndex("RoleId");

                    b.ToTable("IdentityUserRole<string>");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<string>", b =>
                {
                    b.Property<string>("UserId");

                    b.Property<string>("LoginProvider");

                    b.Property<string>("Name");

                    b.Property<string>("Value");

                    b.HasKey("UserId", "LoginProvider", "Name");

                    b.ToTable("IdentityUserToken<string>");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Auction", b =>
                {
                    b.Property<int>("AuctionId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("AuctionEndDate");

                    b.Property<int>("AuctionNumber");

                    b.Property<DateTime>("AuctionStartDate");

                    b.Property<string>("Description");

                    b.HasKey("AuctionId");

                    b.ToTable("Auction");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.AuctionItem", b =>
                {
                    b.Property<int>("AuctionItemId")
                        .ValueGeneratedOnAdd();

                    b.Property<int?>("AuctionId");

                    b.Property<int?>("ItemId");

                    b.HasKey("AuctionItemId");

                    b.HasIndex("AuctionId");

                    b.HasIndex("ItemId");

                    b.ToTable("AuctionItem");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.AuctionMedia", b =>
                {
                    b.Property<int>("AuctionMediaId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("LastUsed");

                    b.Property<bool>("SafeToDelete");

                    b.Property<string>("Url");

                    b.HasKey("AuctionMediaId");

                    b.ToTable("AuctionMedia");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Bidder", b =>
                {
                    b.Property<int>("BidderId")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("ApplicationUserId");

                    b.Property<string>("FirstName");

                    b.Property<bool>("IsRegistered");

                    b.Property<string>("LastName");

                    b.HasKey("BidderId");

                    b.HasIndex("ApplicationUserId");

                    b.ToTable("Bidder");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.BidHistory", b =>
                {
                    b.Property<int>("BidHistoryId")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("AuctionItemId");

                    b.Property<decimal>("BidAmount");

                    b.Property<DateTime>("BidDate");

                    b.Property<int>("BidderId");

                    b.HasKey("BidHistoryId");

                    b.HasIndex("AuctionItemId");

                    b.HasIndex("BidderId");

                    b.ToTable("BidHistory");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.ContactInformation", b =>
                {
                    b.Property<int>("ContactInformationId")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("BidderId");

                    b.Property<string>("ConfirmationText");

                    b.Property<string>("ConfirmationType");

                    b.Property<int>("ContactTypeId");

                    b.Property<int>("SponsorId");

                    b.HasKey("ContactInformationId");

                    b.HasIndex("BidderId");

                    b.HasIndex("ContactTypeId");

                    b.HasIndex("SponsorId");

                    b.ToTable("ContactInformation");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.ContactType", b =>
                {
                    b.Property<int>("ContactTypeId")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Type");

                    b.HasKey("ContactTypeId");

                    b.ToTable("ContactType");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Item", b =>
                {
                    b.Property<int>("ItemId")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("AuctionMediaId");

                    b.Property<decimal>("BidIncrementValue");

                    b.Property<int>("ItemCategoryId");

                    b.Property<string>("ItemDescription")
                        .IsRequired();

                    b.Property<string>("ItemName")
                        .IsRequired();

                    b.Property<decimal>("ItemValue");

                    b.Property<decimal>("OpeningBid");

                    b.Property<int>("SponserId");

                    b.Property<int?>("SponsorId");

                    b.HasKey("ItemId");

                    b.HasIndex("AuctionMediaId");

                    b.HasIndex("ItemCategoryId");

                    b.HasIndex("SponsorId");

                    b.ToTable("Item");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.ItemCategory", b =>
                {
                    b.Property<int>("ItemCategoryId")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Description");

                    b.HasKey("ItemCategoryId");

                    b.ToTable("ItemCategory");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Sponsor", b =>
                {
                    b.Property<int>("SponsorId")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("AuctionMediaId");

                    b.Property<string>("Description");

                    b.Property<string>("Name");

                    b.HasKey("SponsorId");

                    b.HasIndex("AuctionMediaId");

                    b.ToTable("Sponsor");
                });

            modelBuilder.Entity("PHBGTU.Areas.Carousel.Models.Slideshow", b =>
                {
                    b.Property<int>("SlideshowId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("Item")
                        .IsRequired();

                    b.Property<string>("ScriptBottom");

                    b.Property<string>("ScriptTop");

                    b.Property<string>("Template")
                        .IsRequired();

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("SlideshowId");

                    b.ToTable("Slideshow");
                });

            modelBuilder.Entity("PHBGTU.Models.ApplicationUser", b =>
                {
                    b.Property<string>("Id")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("AccessFailedCount");

                    b.Property<string>("ConcurrencyStamp")
                        .IsConcurrencyToken();

                    b.Property<string>("Email")
                        .HasMaxLength(256);

                    b.Property<bool>("EmailConfirmed");

                    b.Property<string>("FirstName");

                    b.Property<string>("LastName");

                    b.Property<bool>("LockoutEnabled");

                    b.Property<DateTimeOffset?>("LockoutEnd");

                    b.Property<string>("NormalizedEmail")
                        .HasMaxLength(256);

                    b.Property<string>("NormalizedUserName")
                        .HasMaxLength(256);

                    b.Property<string>("PasswordHash");

                    b.Property<string>("PhoneNumber");

                    b.Property<bool>("PhoneNumberConfirmed");

                    b.Property<string>("SecurityStamp");

                    b.Property<bool>("TwoFactorEnabled");

                    b.Property<string>("UserName")
                        .HasMaxLength(256);

                    b.HasKey("Id");

                    b.HasIndex("NormalizedEmail")
                        .HasName("EmailIndex");

                    b.HasIndex("NormalizedUserName")
                        .IsUnique()
                        .HasName("UserNameIndex");

                    b.ToTable("ApplicationUser");
                });

            modelBuilder.Entity("PHBGTU.Models.ContentBlock", b =>
                {
                    b.Property<int>("ContentBlockId")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Content")
                        .IsRequired();

                    b.Property<int>("ContentBlockCategoryId");

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<DateTime>("EventDateTime");

                    b.Property<bool>("HasAuction");

                    b.Property<bool>("HasLink");

                    b.Property<string>("LinkText")
                        .HasMaxLength(30);

                    b.Property<string>("LinkURL");

                    b.Property<string>("Location");

                    b.Property<DateTime>("PublishDateTime");

                    b.Property<int>("SlideshowId");

                    b.Property<string>("Status")
                        .IsRequired()
                        .HasMaxLength(1);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("ContentBlockId");

                    b.HasIndex("ContentBlockCategoryId");

                    b.ToTable("ContentBlock");
                });

            modelBuilder.Entity("PHBGTU.Models.ContentBlockCategory", b =>
                {
                    b.Property<int>("ContentBlockCategoryId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("ContentBlockCategoryId");

                    b.ToTable("ContentBlockCategory");
                });

            modelBuilder.Entity("PHBGTU.Models.ContentBlockMedia", b =>
                {
                    b.Property<int>("ContentBlockMediaId")
                        .ValueGeneratedOnAdd();

                    b.Property<int>("ContentBlockId");

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<int>("MediaId");

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("ContentBlockMediaId");

                    b.HasIndex("ContentBlockId");

                    b.HasIndex("MediaId");

                    b.ToTable("ContentBlockMedia");
                });

            modelBuilder.Entity("PHBGTU.Models.Media", b =>
                {
                    b.Property<int>("MediaId")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Album")
                        .IsRequired();

                    b.Property<string>("ContentDisposition");

                    b.Property<string>("ContentType");

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser")
                        .IsRequired();

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("Extension");

                    b.Property<string>("Filename");

                    b.Property<bool>("HasLink");

                    b.Property<string>("Headers");

                    b.Property<string>("Keywords");

                    b.Property<long>("Length");

                    b.Property<string>("LinkText")
                        .HasMaxLength(30);

                    b.Property<string>("LinkURL");

                    b.Property<int>("MediaCategoryId");

                    b.Property<string>("Month")
                        .HasMaxLength(2);

                    b.Property<string>("Name");

                    b.Property<string>("PhysicalPath")
                        .IsRequired();

                    b.Property<DateTime>("PublishDateTime");

                    b.Property<string>("Status")
                        .IsRequired()
                        .HasMaxLength(1);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser")
                        .IsRequired();

                    b.Property<string>("WebPath")
                        .IsRequired();

                    b.Property<string>("Year")
                        .HasMaxLength(4);

                    b.HasKey("MediaId");

                    b.HasIndex("MediaCategoryId");

                    b.ToTable("Media");
                });

            modelBuilder.Entity("PHBGTU.Models.MediaCategory", b =>
                {
                    b.Property<int>("MediaCategoryId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("MediaFolder")
                        .HasMaxLength(25);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("MediaCategoryId");

                    b.ToTable("MediaCategory");
                });

            modelBuilder.Entity("PHBGTU.Models.Page", b =>
                {
                    b.Property<int>("PageId")
                        .ValueGeneratedOnAdd();

                    b.Property<int?>("ContentBlockId");

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("ExternalURL");

                    b.Property<bool>("HasModal");

                    b.Property<string>("HeadingMain");

                    b.Property<string>("HeadingSecondary");

                    b.Property<bool>("IsExternal");

                    b.Property<bool>("IsHighlighted");

                    b.Property<string>("MenuLabel")
                        .IsRequired();

                    b.Property<int>("MenuLevel");

                    b.Property<int>("MenuPosition");

                    b.Property<int>("ModalBlockId");

                    b.Property<double>("ModalTime");

                    b.Property<int?>("Parent")
                        .IsRequired();

                    b.Property<bool>("ShowInMenu");

                    b.Property<bool>("ShowSectionLeft");

                    b.Property<string>("Status")
                        .IsRequired()
                        .HasMaxLength(1);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.Property<string>("VirtualAction")
                        .IsRequired();

                    b.Property<string>("VirtualController")
                        .IsRequired();

                    b.HasKey("PageId");

                    b.HasIndex("ContentBlockId");

                    b.ToTable("Page");
                });

            modelBuilder.Entity("PHBGTU.Models.Setting", b =>
                {
                    b.Property<int>("SettingId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("CurrentValue");

                    b.Property<string>("Datatype")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("DefaultValue");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<string>("DisplayName");

                    b.Property<bool>("HasSelectOptions");

                    b.Property<bool>("IsSelect");

                    b.Property<string>("PreviousValue");

                    b.Property<string>("SelectOptions");

                    b.Property<int>("SettingCategoryId");

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("SettingId");

                    b.HasIndex("SettingCategoryId");

                    b.ToTable("Setting");
                });

            modelBuilder.Entity("PHBGTU.Models.SettingCategory", b =>
                {
                    b.Property<int>("SettingCategoryId")
                        .ValueGeneratedOnAdd();

                    b.Property<DateTime>("CreateTimestamp");

                    b.Property<string>("CreateUser");

                    b.Property<string>("Description")
                        .IsRequired()
                        .HasMaxLength(30);

                    b.Property<DateTime>("UpdateTimestamp");

                    b.Property<string>("UpdateUser");

                    b.HasKey("SettingCategoryId");

                    b.ToTable("SettingCategory");
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<string>", b =>
                {
                    b.HasOne("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole")
                        .WithMany("Claims")
                        .HasForeignKey("RoleId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<string>", b =>
                {
                    b.HasOne("PHBGTU.Models.ApplicationUser")
                        .WithMany("Claims")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<string>", b =>
                {
                    b.HasOne("PHBGTU.Models.ApplicationUser")
                        .WithMany("Logins")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<string>", b =>
                {
                    b.HasOne("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole")
                        .WithMany("Users")
                        .HasForeignKey("RoleId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Models.ApplicationUser")
                        .WithMany("Roles")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.AuctionItem", b =>
                {
                    b.HasOne("PHBGTU.Areas.Auction.Models.Auction", "Auction")
                        .WithMany("Items")
                        .HasForeignKey("AuctionId");

                    b.HasOne("PHBGTU.Areas.Auction.Models.Item", "Item")
                        .WithMany("Auctions")
                        .HasForeignKey("ItemId");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Bidder", b =>
                {
                    b.HasOne("PHBGTU.Models.ApplicationUser", "ApplicationUser")
                        .WithMany()
                        .HasForeignKey("ApplicationUserId");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.BidHistory", b =>
                {
                    b.HasOne("PHBGTU.Areas.Auction.Models.AuctionItem", "AuctionItem")
                        .WithMany()
                        .HasForeignKey("AuctionItemId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Areas.Auction.Models.Bidder", "Bidder")
                        .WithMany()
                        .HasForeignKey("BidderId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.ContactInformation", b =>
                {
                    b.HasOne("PHBGTU.Areas.Auction.Models.Bidder", "Bidder")
                        .WithMany()
                        .HasForeignKey("BidderId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Areas.Auction.Models.ContactType", "ContactType")
                        .WithMany()
                        .HasForeignKey("ContactTypeId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Areas.Auction.Models.Sponsor", "Sponsor")
                        .WithMany()
                        .HasForeignKey("SponsorId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Item", b =>
                {
                    b.HasOne("PHBGTU.Areas.Auction.Models.AuctionMedia", "AuctionMedia")
                        .WithMany()
                        .HasForeignKey("AuctionMediaId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Areas.Auction.Models.ItemCategory", "Category")
                        .WithMany()
                        .HasForeignKey("ItemCategoryId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Areas.Auction.Models.Sponsor", "Sponsor")
                        .WithMany()
                        .HasForeignKey("SponsorId");
                });

            modelBuilder.Entity("PHBGTU.Areas.Auction.Models.Sponsor", b =>
                {
                    b.HasOne("PHBGTU.Areas.Auction.Models.AuctionMedia", "Media")
                        .WithMany()
                        .HasForeignKey("AuctionMediaId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Models.ContentBlock", b =>
                {
                    b.HasOne("PHBGTU.Models.ContentBlockCategory", "ContentBlockCategory")
                        .WithMany("ContentBlocks")
                        .HasForeignKey("ContentBlockCategoryId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Models.ContentBlockMedia", b =>
                {
                    b.HasOne("PHBGTU.Models.ContentBlock", "ContentBlock")
                        .WithMany("ContentBlockMedias")
                        .HasForeignKey("ContentBlockId")
                        .OnDelete(DeleteBehavior.Cascade);

                    b.HasOne("PHBGTU.Models.Media", "Media")
                        .WithMany("ContentBlockMedias")
                        .HasForeignKey("MediaId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Models.Media", b =>
                {
                    b.HasOne("PHBGTU.Models.MediaCategory", "MediaCategory")
                        .WithMany("Medias")
                        .HasForeignKey("MediaCategoryId")
                        .OnDelete(DeleteBehavior.Cascade);
                });

            modelBuilder.Entity("PHBGTU.Models.Page", b =>
                {
                    b.HasOne("PHBGTU.Models.ContentBlock", "ContentBlock")
                        .WithMany()
                        .HasForeignKey("ContentBlockId");
                });

            modelBuilder.Entity("PHBGTU.Models.Setting", b =>
                {
                    b.HasOne("PHBGTU.Models.SettingCategory", "SettingCategory")
                        .WithMany("Settings")
                        .HasForeignKey("SettingCategoryId")
                        .OnDelete(DeleteBehavior.Cascade);
                });
        }
    }
}
