1060 lines
46 KiB
C#
1060 lines
46 KiB
C#
// <auto-generated />
|
||
using System;
|
||
using ConstructorApp.DataAccessLayer.Concrete;
|
||
using Microsoft.EntityFrameworkCore;
|
||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
using Microsoft.EntityFrameworkCore.Metadata;
|
||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
|
||
#nullable disable
|
||
|
||
namespace ConstructorApp.DataAccessLayer.Migrations
|
||
{
|
||
[DbContext(typeof(ConstructorContext))]
|
||
partial class ConstructorContextModelSnapshot : ModelSnapshot
|
||
{
|
||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||
{
|
||
#pragma warning disable 612, 618
|
||
modelBuilder
|
||
.HasAnnotation("ProductVersion", "8.0.0")
|
||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||
|
||
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.AppRole", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("ConcurrencyStamp")
|
||
.IsConcurrencyToken()
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Name")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.Property<string>("NormalizedName")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("NormalizedName")
|
||
.IsUnique()
|
||
.HasDatabaseName("RoleNameIndex")
|
||
.HasFilter("[NormalizedName] IS NOT NULL");
|
||
|
||
b.ToTable("AspNetRoles", (string)null);
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
Id = 1,
|
||
ConcurrencyStamp = "861b2f73-621f-401d-ae7f-90386fb8ee33",
|
||
Name = "Admin",
|
||
NormalizedName = "ADMIN"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.AppUser", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<int>("AccessFailedCount")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ConcurrencyStamp")
|
||
.IsConcurrencyToken()
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("ConfirmCode")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Email")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.Property<bool>("EmailConfirmed")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("FirstName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("LastName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<bool>("LockoutEnabled")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<DateTimeOffset?>("LockoutEnd")
|
||
.HasColumnType("datetimeoffset");
|
||
|
||
b.Property<string>("NormalizedEmail")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.Property<string>("NormalizedUserName")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.Property<string>("PasswordHash")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("PhoneNumber")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<bool>("PhoneNumberConfirmed")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("SecurityStamp")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<bool>("TwoFactorEnabled")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasMaxLength(256)
|
||
.HasColumnType("nvarchar(256)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("NormalizedEmail")
|
||
.HasDatabaseName("EmailIndex");
|
||
|
||
b.HasIndex("NormalizedUserName")
|
||
.IsUnique()
|
||
.HasDatabaseName("UserNameIndex")
|
||
.HasFilter("[NormalizedUserName] IS NOT NULL");
|
||
|
||
b.ToTable("AspNetUsers", (string)null);
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
Id = 1,
|
||
AccessFailedCount = 0,
|
||
ConcurrencyStamp = "49a67b10-c6cd-45a8-a985-a0f3a0fc638b",
|
||
ConfirmCode = 0,
|
||
Email = "admin@example.com",
|
||
EmailConfirmed = true,
|
||
FirstName = "Admin",
|
||
ImageUrl = "/SeedData/defaultuser.png",
|
||
LastName = "Admin",
|
||
LockoutEnabled = false,
|
||
NormalizedEmail = "ADMIN@EXAMPLE.COM",
|
||
NormalizedUserName = "ADMIN",
|
||
PasswordHash = "AQAAAAIAAYagAAAAEN1z37odF5cuQmrziBf4IXBIfLIAFvlO6rQM8GKxsuyQWTBG8Bv6bkA+61SWFl1R5g==",
|
||
PhoneNumberConfirmed = false,
|
||
SecurityStamp = "553407f9-7fee-4c07-b1e7-4523592d191f",
|
||
TwoFactorEnabled = false,
|
||
UserName = "admin"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.CompanyInfo", b =>
|
||
{
|
||
b.Property<int>("CompanyInfoID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("CompanyInfoID"));
|
||
|
||
b.Property<string>("SubTitle")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("Value")
|
||
.IsRequired()
|
||
.HasMaxLength(3)
|
||
.HasColumnType("nvarchar(3)");
|
||
|
||
b.HasKey("CompanyInfoID");
|
||
|
||
b.ToTable("CompanyInfo");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
CompanyInfoID = 1,
|
||
SubTitle = "2011 yılından bu yana sektörde faaliyet göstermekteyiz.",
|
||
Title = "YIL",
|
||
Value = "7"
|
||
},
|
||
new
|
||
{
|
||
CompanyInfoID = 2,
|
||
SubTitle = "Bugüne kadar 54 adet konut projesi tasarladık.",
|
||
Title = "PROJE",
|
||
Value = "54"
|
||
},
|
||
new
|
||
{
|
||
CompanyInfoID = 3,
|
||
SubTitle = "Şirketimiz yaratıcılığı nedeniyle birçok kez ödüle layık görüldü.",
|
||
Title = "ÖDÜL",
|
||
Value = "11"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.CompanyInfoVideo", b =>
|
||
{
|
||
b.Property<int>("CompanyInfoVideoID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("CompanyInfoVideoID"));
|
||
|
||
b.Property<string>("VideoUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.HasKey("CompanyInfoVideoID");
|
||
|
||
b.ToTable("CompanyInfoVideo");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
CompanyInfoVideoID = 1,
|
||
VideoUrl = "https://www.youtube.com/watch?v=r-thd4PJKBw"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.ContactUs", b =>
|
||
{
|
||
b.Property<int>("ContactusID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ContactusID"));
|
||
|
||
b.Property<DateTime>("Date")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.Property<string>("Mail")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("MessageContent")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("NameSurname")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Phone")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<bool>("Status")
|
||
.HasColumnType("bit");
|
||
|
||
b.HasKey("ContactusID");
|
||
|
||
b.ToTable("ContactUs");
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Footer", b =>
|
||
{
|
||
b.Property<int>("FooterID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("FooterID"));
|
||
|
||
b.Property<string>("Facebook")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Instagram")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Linkedin")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("LogoUrl")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Mail")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Phone")
|
||
.HasMaxLength(14)
|
||
.HasColumnType("nvarchar(14)");
|
||
|
||
b.Property<string>("Youtube")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("FooterID");
|
||
|
||
b.ToTable("Footer");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
FooterID = 1,
|
||
Facebook = "https://facebook.com",
|
||
Instagram = "https://instagram.com",
|
||
Linkedin = "https://linkedin.com",
|
||
LogoUrl = "/SeedData/Logo.png",
|
||
Mail = "insaatmimarlik@mimarlik.com",
|
||
Phone = "0999 999 99 99",
|
||
Youtube = "https://youtube.com"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.HomeBanner", b =>
|
||
{
|
||
b.Property<int>("HomeBannerID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("HomeBannerID"));
|
||
|
||
b.Property<string>("LogoUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("SubTitle")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("HomeBannerID");
|
||
|
||
b.ToTable("HomeBanners");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
HomeBannerID = 1,
|
||
LogoUrl = "/SeedData/Logo.png",
|
||
SubTitle = "150 m2'den başlayan modern enerji tasarruflu evler.",
|
||
Title = "Tasarım & İnşaat"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Project", b =>
|
||
{
|
||
b.Property<int>("ProjectID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ProjectID"));
|
||
|
||
b.Property<string>("CoverUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateOnly>("Date")
|
||
.HasColumnType("date");
|
||
|
||
b.Property<string>("FloorPlanUrl")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("GoogleMapIFrame")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<bool>("IsActive")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("Location")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("LongDescription")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("ShortDescription")
|
||
.HasMaxLength(300)
|
||
.HasColumnType("nvarchar(300)");
|
||
|
||
b.Property<string>("Slug")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Title")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("VideoUrl")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.HasKey("ProjectID");
|
||
|
||
b.ToTable("Projects");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ProjectID = 1,
|
||
CoverUrl = "/SeedData/Project-3.png",
|
||
Date = new DateOnly(2025, 4, 15),
|
||
FloorPlanUrl = "/SeedData/floor-plan.png",
|
||
GoogleMapIFrame = "https://www.google.com/maps/embed?pb=!1m13!1m8!1m3!1d50122.87145390096!2d26.7044768!3d38.2637395!3m2!1i1024!2i768!4f13.1!3m2!1m1!2s!5e0!3m2!1str!2str!4v1722545102804!5m2!1str!2str",
|
||
IsActive = true,
|
||
Location = "3119 Mulberry Ln, Newcastle, UK",
|
||
LongDescription = "Autem ipsum nam porro corporis rerum. Quis eos dolorem eos itaque inventore commodi labore quia quia. Exercitationem repudiandae officiis neque suscipit non officia eaque itaque enim. Voluptatem officia accusantium nesciunt est omnis tempora consectetur dignissimos. Sequi nulla at esse enim cum deserunt eius.\r\nAmet consequatur qui dolore veniam voluptatem voluptatem sit. Non aspernatur atque natus ut cum nam et. Praesentium error dolores rerum minus sequi quia veritatis eum. Eos et doloribus doloremque nesciunt molestiae laboriosam.\r\nImpedit ipsum quae et aliquid doloribus et voluptatem quasi. Perspiciatis occaecati earum et magnam animi. Quibusdam non qui ea vitae suscipit vitae sunt. Repudiandae incidunt cumque minus deserunt assumenda tempore. Delectus voluptas necessitatibus est.\r\nSunt voluptatum sapiente facilis quo odio aut ipsum repellat debitis. Molestiae et autem libero. Explicabo et quod necessitatibus similique quis dolor eum. Numquam eaque praesentium rem et qui nesciunt.",
|
||
ShortDescription = "Eski 2 katlı evi tamamen genişletip yeniden tasarlamak için üç ay boyunca bu proje üzerinde çalıştık.",
|
||
Slug = "tasevler",
|
||
Status = 2,
|
||
Title = "Taşevler",
|
||
VideoUrl = "https://www.youtube.com/watch?v=r-thd4PJKBw"
|
||
},
|
||
new
|
||
{
|
||
ProjectID = 2,
|
||
CoverUrl = "/SeedData/Project-2.png",
|
||
Date = new DateOnly(2026, 2, 15),
|
||
FloorPlanUrl = "/SeedData/floor-plan.png",
|
||
GoogleMapIFrame = "https://www.google.com/maps/embed?pb=!1m13!1m8!1m3!1d50122.87145390096!2d26.7044768!3d38.2637395!3m2!1i1024!2i768!4f13.1!3m2!1m1!2s!5e0!3m2!1str!2str!4v1722545102804!5m2!1str!2str",
|
||
IsActive = true,
|
||
Location = "2560 Russell st, Boston, MA",
|
||
LongDescription = "Autem ipsum nam porro corporis rerum. Quis eos dolorem eos itaque inventore commodi labore quia quia. Exercitationem repudiandae officiis neque suscipit non officia eaque itaque enim. Voluptatem officia accusantium nesciunt est omnis tempora consectetur dignissimos. Sequi nulla at esse enim cum deserunt eius.\r\nAmet consequatur qui dolore veniam voluptatem voluptatem sit. Non aspernatur atque natus ut cum nam et. Praesentium error dolores rerum minus sequi quia veritatis eum. Eos et doloribus doloremque nesciunt molestiae laboriosam.\r\nImpedit ipsum quae et aliquid doloribus et voluptatem quasi. Perspiciatis occaecati earum et magnam animi. Quibusdam non qui ea vitae suscipit vitae sunt. Repudiandae incidunt cumque minus deserunt assumenda tempore. Delectus voluptas necessitatibus est.\r\nSunt voluptatum sapiente facilis quo odio aut ipsum repellat debitis. Molestiae et autem libero. Explicabo et quod necessitatibus similique quis dolor eum. Numquam eaque praesentium rem et qui nesciunt.",
|
||
ShortDescription = "2022 yılındaki ilk projelerimizden biri olan bu ev, benzersiz peyzaj tasarım çözümleri ve dış cephe çalışmalarıyla dikkat çekiyor.",
|
||
Slug = "yataymimari",
|
||
Status = 1,
|
||
Title = "Yatay Mimari",
|
||
VideoUrl = "https://www.youtube.com/watch?v=r-thd4PJKBw"
|
||
},
|
||
new
|
||
{
|
||
ProjectID = 3,
|
||
CoverUrl = "/SeedData/Project-1.png",
|
||
Date = new DateOnly(2027, 1, 10),
|
||
FloorPlanUrl = "/SeedData/floor-plan.png",
|
||
GoogleMapIFrame = "https://www.google.com/maps/embed?pb=!1m13!1m8!1m3!1d50122.87145390096!2d26.7044768!3d38.2637395!3m2!1i1024!2i768!4f13.1!3m2!1m1!2s!5e0!3m2!1str!2str!4v1722545102804!5m2!1str!2str",
|
||
IsActive = true,
|
||
Location = "123 Ave. Boston",
|
||
LongDescription = "Autem ipsum nam porro corporis rerum. Quis eos dolorem eos itaque inventore commodi labore quia quia. Exercitationem repudiandae officiis neque suscipit non officia eaque itaque enim. Voluptatem officia accusantium nesciunt est omnis tempora consectetur dignissimos. Sequi nulla at esse enim cum deserunt eius.\r\nAmet consequatur qui dolore veniam voluptatem voluptatem sit. Non aspernatur atque natus ut cum nam et. Praesentium error dolores rerum minus sequi quia veritatis eum. Eos et doloribus doloremque nesciunt molestiae laboriosam.\r\nImpedit ipsum quae et aliquid doloribus et voluptatem quasi. Perspiciatis occaecati earum et magnam animi. Quibusdam non qui ea vitae suscipit vitae sunt. Repudiandae incidunt cumque minus deserunt assumenda tempore. Delectus voluptas necessitatibus est.\r\nSunt voluptatum sapiente facilis quo odio aut ipsum repellat debitis. Molestiae et autem libero. Explicabo et quod necessitatibus similique quis dolor eum. Numquam eaque praesentium rem et qui nesciunt.",
|
||
ShortDescription = "2022 yılındaki ilk projelerimizden biri olan bu ev, benzersiz peyzaj tasarım çözümleri ve dış cephe çalışmalarıyla dikkat çekiyor.",
|
||
Slug = "modernmimari",
|
||
Status = 0,
|
||
Title = "Modern Mimari",
|
||
VideoUrl = "https://www.youtube.com/watch?v=r-thd4PJKBw"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.ProjectGallery", b =>
|
||
{
|
||
b.Property<int>("ProjectGalleryID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ProjectGalleryID"));
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int>("ProjectID")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("ProjectGalleryID");
|
||
|
||
b.HasIndex("ProjectID");
|
||
|
||
b.ToTable("ProjectGallery");
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Reference", b =>
|
||
{
|
||
b.Property<int>("ReferenceID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ReferenceID"));
|
||
|
||
b.Property<string>("LogoUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("WebUrl")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.HasKey("ReferenceID");
|
||
|
||
b.ToTable("References");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ReferenceID = 1,
|
||
LogoUrl = "/SeedData/Reference-1.png",
|
||
WebUrl = "https://google.com"
|
||
},
|
||
new
|
||
{
|
||
ReferenceID = 2,
|
||
LogoUrl = "/SeedData/Reference-2.png",
|
||
WebUrl = "https://google.com"
|
||
},
|
||
new
|
||
{
|
||
ReferenceID = 3,
|
||
LogoUrl = "/SeedData/Reference-3.png",
|
||
WebUrl = "https://google.com"
|
||
},
|
||
new
|
||
{
|
||
ReferenceID = 4,
|
||
LogoUrl = "/SeedData/Reference-4.png",
|
||
WebUrl = "https://google.com"
|
||
},
|
||
new
|
||
{
|
||
ReferenceID = 5,
|
||
LogoUrl = "/SeedData/Reference-5.png",
|
||
WebUrl = "https://google.com"
|
||
},
|
||
new
|
||
{
|
||
ReferenceID = 6,
|
||
LogoUrl = "/SeedData/Reference-6.png",
|
||
WebUrl = "https://google.com"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Service", b =>
|
||
{
|
||
b.Property<int>("ServiceID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ServiceID"));
|
||
|
||
b.Property<bool>("IsActive")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("SubTitle")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("ServiceID");
|
||
|
||
b.ToTable("Services");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ServiceID = 1,
|
||
IsActive = true,
|
||
SubTitle = "Yüksek kalitede mimarlık hizmetleri sunuyoruz.",
|
||
Title = "Mimarlık"
|
||
},
|
||
new
|
||
{
|
||
ServiceID = 2,
|
||
IsActive = true,
|
||
SubTitle = "Ekibimiz özgün ve şık mimari çözümler sunmaktadır.",
|
||
Title = "İç mekan tasarımı"
|
||
},
|
||
new
|
||
{
|
||
ServiceID = 3,
|
||
IsActive = true,
|
||
SubTitle = "Estetik ve fonksiyonelliği bir araya getiren peyzaj çözümleri üretiyoruz.",
|
||
Title = "Peyzaj Mimarisi"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Slider", b =>
|
||
{
|
||
b.Property<int>("SliderID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("SliderID"));
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Location")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("PriceInfo")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Sqm")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("SliderID");
|
||
|
||
b.ToTable("Sliders");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
SliderID = 1,
|
||
ImageUrl = "/SeedData/Slider-1.png",
|
||
Location = "2750 Duffy St",
|
||
PriceInfo = "400.000",
|
||
Sqm = "200"
|
||
},
|
||
new
|
||
{
|
||
SliderID = 2,
|
||
ImageUrl = "/SeedData/Slider-2.png",
|
||
Location = "5032 Hewes Ave",
|
||
PriceInfo = "490.000",
|
||
Sqm = "290"
|
||
},
|
||
new
|
||
{
|
||
SliderID = 3,
|
||
ImageUrl = "/SeedData/Slider-3.png",
|
||
Location = "2239 Wilmar Farm Rd",
|
||
PriceInfo = "550.000",
|
||
Sqm = "350"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Team", b =>
|
||
{
|
||
b.Property<int>("TeamID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("TeamID"));
|
||
|
||
b.Property<string>("Facebook")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Instagram")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Linkedin")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("NameSurname")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.HasKey("TeamID");
|
||
|
||
b.ToTable("Teams");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
TeamID = 1,
|
||
Facebook = "https://facebook.com",
|
||
ImageUrl = "/SeedData/Team-1.jpg",
|
||
Instagram = "https://instagram.com",
|
||
Linkedin = "https://linkedin.com",
|
||
NameSurname = "Meryem Sağkut",
|
||
Title = "Baş İç Mimar"
|
||
},
|
||
new
|
||
{
|
||
TeamID = 2,
|
||
Facebook = "https://facebook.com",
|
||
ImageUrl = "/SeedData/Team-2.jpg",
|
||
Instagram = "https://instagram.com",
|
||
Linkedin = "https://linkedin.com",
|
||
NameSurname = "Can Balamir",
|
||
Title = "Kıdemli Mimar"
|
||
},
|
||
new
|
||
{
|
||
TeamID = 3,
|
||
Facebook = "https://facebook.com",
|
||
ImageUrl = "/SeedData/Team-3.jpg",
|
||
Instagram = "https://instagram.com",
|
||
Linkedin = "https://linkedin.com",
|
||
NameSurname = "Aslı Sönmez",
|
||
Title = "Dış Cephe ve Peyzaj Tasarımcısı"
|
||
},
|
||
new
|
||
{
|
||
TeamID = 4,
|
||
Facebook = "https://facebook.com",
|
||
ImageUrl = "/SeedData/Team-4.jpg",
|
||
Instagram = "https://instagram.com",
|
||
Linkedin = "https://linkedin.com",
|
||
NameSurname = "Kübra Mecan",
|
||
Title = "Proje Müdürü"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Testimonial", b =>
|
||
{
|
||
b.Property<int>("TestimonialID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("TestimonialID"));
|
||
|
||
b.Property<string>("Comment")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("TestimonialID");
|
||
|
||
b.ToTable("Testimonials");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
TestimonialID = 1,
|
||
Comment = "Tasarım ve mimarlık hizmeti veren birçok şirketle çalıştım ve siz bunların arasından gerçekten sıyrılan ve harika bir iş çıkaranlardan birisiniz.",
|
||
ImageUrl = "/SeedData/User-1.png",
|
||
Name = "Samet Malkın",
|
||
Status = 1,
|
||
Title = "Müşteri"
|
||
},
|
||
new
|
||
{
|
||
TestimonialID = 2,
|
||
Comment = "Birinci sınıf yaratıcılık ve kaliteli hizmet arıyordum ve ekibinizde aradığımı buldum. Tüm fikirlerimi ve taleplerimi dikkate aldınız ve harika bir proje ortaya çıkardınız.",
|
||
ImageUrl = "/SeedData/User-2.png",
|
||
Name = "Kübra Yalman",
|
||
Status = 1,
|
||
Title = "Girişimci"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.WorkProcess", b =>
|
||
{
|
||
b.Property<int>("WorkProcessID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WorkProcessID"));
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("Info")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<bool>("IsActive")
|
||
.HasColumnType("bit");
|
||
|
||
b.Property<string>("SubTitle")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.HasKey("WorkProcessID");
|
||
|
||
b.ToTable("WorkProcess");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
WorkProcessID = 1,
|
||
ImageUrl = "/SeedData/WorkProcess-1.png",
|
||
Info = "Müşteri ile tanışma",
|
||
IsActive = true,
|
||
SubTitle = "Yaptığımız ilk şey müşterilerimizle bir araya gelip gelecekteki bir projedeki hedeflerini konuşmaktır. Bu toplantı sırasında fikirlerinizi iletmekten ve bolca soru sormaktan çekinmeyin. Bu aşama oldukça belirleyicidir çünkü potansiyel mimarınızın çalışmalarını portföylerine göz atarak değerlendirebilirsiniz. Bir müşteri olarak mimarın ihtiyaçlarınızı dinleyip dinlemediğini ve bunları anlayıp anlamadığını da değerlendirebilirsiniz.",
|
||
Title = "Hedefleri karşılayın ve tanımlayın"
|
||
},
|
||
new
|
||
{
|
||
WorkProcessID = 2,
|
||
ImageUrl = "/SeedData/WorkProcess-2.png",
|
||
Info = "Proje Konsept Geliştirme",
|
||
IsActive = true,
|
||
SubTitle = "İşbirliğimizin bir sonraki adımı, gelecekteki evinizin konseptini geliştirmektir. Evinizin inşaat sürecini başarılı kılan her bir faktörü tanımlamamıza yardımcı olur. Tasarımcı ve mimar ekibimiz, nihai sonucun yalnızca gereksinimlerinizi değil aynı zamanda uluslararası inşaat ve güvenlik standartlarını da karşılamasını sağlamak için projenin her bir adımını planlamalıdır. İzleme ve kontrol bu noktada başlar.",
|
||
Title = "Konsept Üzerinde Çalışma"
|
||
},
|
||
new
|
||
{
|
||
WorkProcessID = 3,
|
||
ImageUrl = "/SeedData/WorkProcess-3.png",
|
||
Info = "İç ve Dış Mekanda Çalışma",
|
||
IsActive = true,
|
||
SubTitle = "Bir ev inşa etmenin en önemli ve sorumlu kısmının inşaat süreci olduğuna şüphe yok. Güvenilir müteahhitlerle çalıştığımız için harika bir sonuç garantilidir. Bu aşama, inşaat alanını hazırlamaktan izolasyonu kurmaya ve alçıpanı tamamlamaya ve dış cephede çalışmaya kadar kontrol edilmesi gereken çeşitli görevleri içerdiğinden en karmaşık olanlardan biridir.",
|
||
Title = "Evinizi İnşa Etme"
|
||
},
|
||
new
|
||
{
|
||
WorkProcessID = 4,
|
||
ImageUrl = "/SeedData/WorkProcess-4.png",
|
||
Info = "Gelecekteki eviniz için son rötuşlar",
|
||
IsActive = true,
|
||
SubTitle = "Proje son aşamasına geldiğinde, kalite kontrol ekibimiz her şeyin doğru şekilde yapıldığından emin olmak için binanın son kontrolünü gerçekleştirir. Çalışanlarımız ayrıca bu son adımda tüm iç elemanların ve armatürlerin doğru şekilde monte edildiğinden emin olacaktır. Her şey tamamlandıktan sonra, müşterimizi nihai sonucu değerlendirmeye ve projemizin kaliteli performansını deneyimlemeye davet ediyoruz.",
|
||
Title = "Projenin Tamamlanması"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<int>", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("ClaimType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("ClaimValue")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("RoleId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("RoleId");
|
||
|
||
b.ToTable("AspNetRoleClaims", (string)null);
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<int>", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("ClaimType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("ClaimValue")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("UserId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("UserId");
|
||
|
||
b.ToTable("AspNetUserClaims", (string)null);
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<int>", b =>
|
||
{
|
||
b.Property<string>("LoginProvider")
|
||
.HasColumnType("nvarchar(450)");
|
||
|
||
b.Property<string>("ProviderKey")
|
||
.HasColumnType("nvarchar(450)");
|
||
|
||
b.Property<string>("ProviderDisplayName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("UserId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("LoginProvider", "ProviderKey");
|
||
|
||
b.HasIndex("UserId");
|
||
|
||
b.ToTable("AspNetUserLogins", (string)null);
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<int>", b =>
|
||
{
|
||
b.Property<int>("UserId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("RoleId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("UserId", "RoleId");
|
||
|
||
b.HasIndex("RoleId");
|
||
|
||
b.ToTable("AspNetUserRoles", (string)null);
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
UserId = 1,
|
||
RoleId = 1
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<int>", b =>
|
||
{
|
||
b.Property<int>("UserId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("LoginProvider")
|
||
.HasColumnType("nvarchar(450)");
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(450)");
|
||
|
||
b.Property<string>("Value")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.HasKey("UserId", "LoginProvider", "Name");
|
||
|
||
b.ToTable("AspNetUserTokens", (string)null);
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.ProjectGallery", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.Project", "Project")
|
||
.WithMany("ProjectGallery")
|
||
.HasForeignKey("ProjectID")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Project");
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<int>", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppRole", null)
|
||
.WithMany()
|
||
.HasForeignKey("RoleId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<int>", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppUser", null)
|
||
.WithMany()
|
||
.HasForeignKey("UserId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<int>", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppUser", null)
|
||
.WithMany()
|
||
.HasForeignKey("UserId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<int>", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppRole", null)
|
||
.WithMany()
|
||
.HasForeignKey("RoleId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppUser", null)
|
||
.WithMany()
|
||
.HasForeignKey("UserId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<int>", b =>
|
||
{
|
||
b.HasOne("ConstructorApp.EntityLayer.Entities.AppUser", null)
|
||
.WithMany()
|
||
.HasForeignKey("UserId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("ConstructorApp.EntityLayer.Entities.Project", b =>
|
||
{
|
||
b.Navigation("ProjectGallery");
|
||
});
|
||
#pragma warning restore 612, 618
|
||
}
|
||
}
|
||
}
|