Add project files.

This commit is contained in:
2025-05-01 15:18:30 +03:00
parent e058ab8015
commit 774d695414
3094 changed files with 1336814 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations;
namespace ConstructorApp.DtoLayer.AppUserDto
{
public class AppUserEditDto
{
public string? UserName { get; set; }
[Required(ErrorMessage = "Mevcut şifre alanı zorunludur.")]
[Display(Name = "Mevcut Şifre")]
public string? CurrentPassword { get; set; } // Bu alan zorunlu hale getirildi
[StringLength(50), Display(Name = "Yeni Şifre")]
public string? Password { get; set; }
[Compare("Password", ErrorMessage = "Şifreler eşleşmiyor.")]
[StringLength(50), Display(Name = "Şifre Tekrar")]
public string? ConfirmPassword { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.CompanyInfoDto
{
public class GetCompanyInfoDto
{
public int CompanyInfoID { get; set; }
public string? Value { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.CompanyInfoDto
{
public class ResultCompanyInfoDto
{
public int CompanyInfoID { get; set; }
public string? Value { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.CompanyInfoDto
{
public class UpdateCompanyInfoDto
{
public int CompanyInfoID { get; set; }
public string? Value { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
{
public class GetCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
{
public class ResultCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
{
public class UpdateCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ConstructorApp.EntityLayer\ConstructorApp.EntityLayer.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DtoLayer.ContactUsDto
{
public class CreateContactUsDto
{
public DateTime Date { get; set; } = DateTime.Now;
public string? NameSurname { get; set; }
public string? Mail { get; set; }
public string? Phone { get; set; }
public string? MessageContent { get; set; }
public bool Status { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.ContactUsDto
{
public class GetContactUsDto
{
public int ContactusID { get; set; }
public DateTime Date { get; set; } = DateTime.Now;
public string? NameSurname { get; set; }
public string? Mail { get; set; }
public string? Phone { get; set; }
public string? MessageContent { get; set; }
public bool Status { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.ContactUsDto
{
public class ResultContactUsDto
{
public int ContactusID { get; set; }
public DateTime Date { get; set; } = DateTime.Now;
public string? NameSurname { get; set; }
public string? Mail { get; set; }
public string? Phone { get; set; }
public string? MessageContent { get; set; }
public bool Status { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.ContactUsDto
{
public class UpdateContactUsDto
{
public int ContactusID { get; set; }
public DateTime Date { get; set; } = DateTime.Now;
public string? NameSurname { get; set; }
public string? Mail { get; set; }
public string? Phone { get; set; }
public string? MessageContent { get; set; }
public bool Status { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
namespace ConstructorApp.DtoLayer.FooterDto
{
public class GetFooterDto
{
public int FooterID { get; set; }
public string? LogoUrl { get; set; }
public string? Phone { get; set; }
public string? Mail { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
public string? Youtube { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
namespace ConstructorApp.DtoLayer.FooterDto
{
public class ResultFooterDto
{
public int FooterID { get; set; }
public string? LogoUrl { get; set; }
public string? Phone { get; set; }
public string? Mail { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
public string? Youtube { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
namespace ConstructorApp.DtoLayer.FooterDto
{
public class UpdateFooterDto
{
public int FooterID { get; set; }
public string? LogoUrl { get; set; }
public string? Phone { get; set; }
public string? Mail { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
public string? Youtube { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.HomeBannerDto
{
public class CreateHomeBannerDto
{
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? LogoUrl { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.HomeBannerDto
{
public class GetHomeBannerDto
{
public int HomeBannerID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? LogoUrl { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.HomeBannerDto
{
public class ResultHomeBannerDto
{
public int HomeBannerID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? LogoUrl { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.HomeBannerDto
{
public class UpdateHomeBannerDto
{
public int HomeBannerID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? LogoUrl { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorApp.DtoLayer.ProjectDto
{
public class CreateProjectDto
{
public string? CoverUrl { get; set; }
public DateOnly Date { get; set; }
public string? Title { get; set; }
public string? Location { get; set; }
public string? ShortDescription { get; set; } //Exterior design
public string? LongDescription { get; set; }
public string? GoogleMapIFrame { get; set; }
public string? VideoUrl { get; set; }
public string? FloorPlanUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
public string? Slug { get; set; }
public ProjectStatus Status { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorApp.DtoLayer.ProjectDto
{
public class GetProjectDto
{
public int ProjectID { get; set; }
public string? CoverUrl { get; set; }
public DateOnly Date { get; set; }
public string? Title { get; set; }
public string? Location { get; set; }
public string? ShortDescription { get; set; } //Exterior design
public string? LongDescription { get; set; }
public string? GoogleMapIFrame { get; set; }
public string? VideoUrl { get; set; }
public string? FloorPlanUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
public string? Slug { get; set; }
public ProjectStatus Status { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorApp.DtoLayer.ProjectDto
{
public class ResultProjectDto
{
public int ProjectID { get; set; }
public string? CoverUrl { get; set; }
public DateOnly Date { get; set; }
public string? Title { get; set; }
public string? Location { get; set; }
public string? ShortDescription { get; set; } //Exterior design
public string? LongDescription { get; set; }
public string? GoogleMapIFrame { get; set; }
public string? VideoUrl { get; set; }
public string? FloorPlanUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
public string? Slug { get; set; }
public List<string>? ImageUrls { get; set; }
public ProjectStatus Status { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorApp.DtoLayer.ProjectDto
{
public class UpdateProjectDto
{
public int ProjectID { get; set; }
public string? CoverUrl { get; set; }
public DateOnly Date { get; set; }
public string? Title { get; set; }
public string? Location { get; set; }
public string? ShortDescription { get; set; } //Exterior design
public string? LongDescription { get; set; }
public string? GoogleMapIFrame { get; set; }
public string? VideoUrl { get; set; }
public string? FloorPlanUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
public string? Slug { get; set; }
public ProjectStatus Status { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorApp.DtoLayer.ProjectGalleryDto
{
public class CreateProjectGalleryDto
{
public string? ImageUrl { get; set; }
public int ProjectID { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ProjectGalleryDto
{
public class GetProjectGalleryDto
{
public int ProjectGalleryID { get; set; }
public string? ImageUrl { get; set; }
public int ProjectID { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ProjectGalleryDto
{
public class ResultProjectGalleryDto
{
public int ProjectGalleryID { get; set; }
public string? ImageUrl { get; set; }
public int ProjectID { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ProjectGalleryDto
{
public class UpdateProjectGalleryDto
{
public int ProjectGalleryID { get; set; }
public string? ImageUrl { get; set; }
public int ProjectID { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorApp.DtoLayer.ReferenceDto
{
public class CreateReferenceDto
{
public string? LogoUrl { get; set; }
public string? WebUrl { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ReferenceDto
{
public class GetReferenceDto
{
public int ReferenceID { get; set; }
public string? LogoUrl { get; set; }
public string? WebUrl { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ReferenceDto
{
public class ResultReferenceDto
{
public int ReferenceID { get; set; }
public string? LogoUrl { get; set; }
public string? WebUrl { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorApp.DtoLayer.ReferenceDto
{
public class UpdateReferenceDto
{
public int ReferenceID { get; set; }
public string? LogoUrl { get; set; }
public string? WebUrl { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.ServiceDto
{
public class GetServiceDto
{
public int ServiceID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public bool IsActive { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.ServiceDto
{
public class ResultServiceDto
{
public int ServiceID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public bool IsActive { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.ServiceDto
{
public class UpdateServiceDto
{
public int ServiceID { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public bool IsActive { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ConstructorApp.DtoLayer.SliderDto
{
public class CreateSliderDto
{
public string? Location { get; set; }
public string? Sqm { get; set; }
public string? PriceInfo { get; set; }
public string? ImageUrl { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace ConstructorApp.DtoLayer.SliderDto
{
public class GetSliderDto
{
public int SliderID { get; set; }
public string? Location { get; set; }
public string? Sqm { get; set; }
public string? PriceInfo { get; set; }
public string? ImageUrl { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace ConstructorApp.DtoLayer.SliderDto
{
public class ResultSliderDto
{
public int SliderID { get; set; }
public string? Location { get; set; }
public string? Sqm { get; set; }
public string? PriceInfo { get; set; }
public string? ImageUrl { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace ConstructorApp.DtoLayer.SliderDto
{
public class UpdateSliderDto
{
public int SliderID { get; set; }
public string? Location { get; set; }
public string? Sqm { get; set; }
public string? PriceInfo { get; set; }
public string? ImageUrl { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DtoLayer.TeamDto
{
public class CreateTeamDto
{
public string? NameSurname { get; set; }
public string? Title { get; set; }
public string? ImageUrl { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.TeamDto
{
public class GetTeamDto
{
public int TeamID { get; set; }
public string? NameSurname { get; set; }
public string? Title { get; set; }
public string? ImageUrl { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.TeamDto
{
public class ResultTeamDto
{
public int TeamID { get; set; }
public string? NameSurname { get; set; }
public string? Title { get; set; }
public string? ImageUrl { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorApp.DtoLayer.TeamDto
{
public class UpdateTeamDto
{
public int TeamID { get; set; }
public string? NameSurname { get; set; }
public string? Title { get; set; }
public string? ImageUrl { get; set; }
public string? Facebook { get; set; }
public string? Instagram { get; set; }
public string? Linkedin { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DtoLayer.TestimonialDto
{
public class CreateTestimonialDto
{
public string? Name { get; set; }
public string? Title { get; set; }
public string? Comment { get; set; }
public string? ImageUrl { get; set; }
public TestimonialStatus Status { get; set; } // Durum enum'u kullanılıyor
}
}

View File

@@ -0,0 +1,14 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DtoLayer.TestimonialDto
{
public class GetTestimonialDto
{
public int TestimonialID { get; set; }
public string? Name { get; set; }
public string? Title { get; set; }
public string? Comment { get; set; }
public string? ImageUrl { get; set; }
public TestimonialStatus Status { get; set; } // Durum enum'u kullanılıyor
}
}

View File

@@ -0,0 +1,14 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DtoLayer.TestimonialDto
{
public class ResultTestimonialDto
{
public int TestimonialID { get; set; }
public string? Name { get; set; }
public string? Title { get; set; }
public string? Comment { get; set; }
public string? ImageUrl { get; set; }
public TestimonialStatus Status { get; set; } // Durum enum'u kullanılıyor
}
}

View File

@@ -0,0 +1,14 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DtoLayer.TestimonialDto
{
public class UpdateTestimonialDto
{
public int TestimonialID { get; set; }
public string? Name { get; set; }
public string? Title { get; set; }
public string? Comment { get; set; }
public string? ImageUrl { get; set; }
public TestimonialStatus Status { get; set; } // Durum enum'u kullanılıyor
}
}

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DtoLayer.WorkProcessDto
{
public class GetWorkProcessDto
{
public int WorkProcessID { get; set; }
public string? Info { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? ImageUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
}
}

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DtoLayer.WorkProcessDto
{
public class ResultWorkProcessDto
{
public int WorkProcessID { get; set; }
public string? Info { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? ImageUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
}
}

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DtoLayer.WorkProcessDto
{
public class UpdateWorkProcessDto
{
public int WorkProcessID { get; set; }
public string? Info { get; set; }
public string? Title { get; set; }
public string? SubTitle { get; set; }
public string? ImageUrl { get; set; }
public bool IsActive { get; set; } //0=Pasif 1=Aktif
}
}