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,10 @@
namespace ConstructorAppUI.Dtos.CompanyInfoDtos
{
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 ConstructorAppUI.Dtos.CompanyInfoDtos
{
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 ConstructorAppUI.Dtos.CompanyInfoDtos
{
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,10 @@
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
{
public class GetCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
{
public class ResultCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
{
public class UpdateCompanyInfoVideoDto
{
public int CompanyInfoVideoID { get; set; }
public string? VideoUrl { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace ConstructorAppUI.Dtos.ContactUsDtos
{
public class CreateContactUsDto
{
public DateTime Date { get; set; } = DateTime.Now;
[Required(ErrorMessage = "Ad Soyad alanı zorunludur.")]
[StringLength(50, ErrorMessage = "Ad Soyad en fazla 50 karakter olabilir.")]
public string? NameSurname { get; set; }
[Required(ErrorMessage = "Mail adresi zorunludur.")]
[EmailAddress(ErrorMessage = "Geçerli bir e-posta adresi giriniz.")]
public string? Mail { get; set; }
[Required(ErrorMessage = "Telefon numarası zorunludur.")]
[Phone(ErrorMessage = "Geçerli bir telefon numarası giriniz.")]
public string? Phone { get; set; }
[Required(ErrorMessage = "Mesaj içeriği boş bırakılamaz.")]
[StringLength(500, ErrorMessage = "Mesaj en fazla 500 karakter olabilir.")]
public string? MessageContent { get; set; }
public bool Status { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorAppUI.Dtos.ContactUsDtos
{
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 ConstructorAppUI.Dtos.ContactUsDtos
{
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 ConstructorAppUI.Dtos.ContactUsDtos
{
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 ConstructorAppUI.Dtos.FooterDtos
{
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 ConstructorAppUI.Dtos.FooterDtos
{
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 ConstructorAppUI.Dtos.FooterDtos
{
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 ConstructorAppUI.Dtos.HomeBannerDtos
{
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 ConstructorAppUI.Dtos.HomeBannerDtos
{
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 ConstructorAppUI.Dtos.HomeBannerDtos
{
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 ConstructorAppUI.Dtos.HomeBannerDtos
{
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,21 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorAppUI.Dtos.ProjectDtos
{
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 IFormFile? ImageFile { get; set; } // Yüklenecek dosya
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 ConstructorAppUI.Dtos.ProjectDtos
{
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,30 @@
using ConstructorAppUI.Helpers;
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorAppUI.Dtos.ProjectDtos
{
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 ProjectStatus Status { get; set; }
public List<string>? ImageUrls { get; set; }
// embed URL üretici
public string? EmbedVideoUrl =>
!string.IsNullOrEmpty(VideoUrl) ?
$"https://www.youtube.com/embed/{YouTubeHelper.ExtractVideoId(VideoUrl)}?autoplay=1" :
null;
}
}

View File

@@ -0,0 +1,21 @@
using static ConstructorApp.EntityLayer.Entities.Project;
namespace ConstructorAppUI.Dtos.ProjectDtos
{
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 ConstructorAppUI.Dtos.ProjectGalleryDtos
{
public class CreateProjectGalleryDto
{
public string? ImageUrl { get; set; }
public int ProjectID { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorAppUI.Dtos.ProjectGalleryDtos
{
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 ConstructorAppUI.Dtos.ReferenceDtos
{
public class CreateReferenceDto
{
public string? LogoUrl { get; set; }
public IFormFile? ImageFile { get; set; } // Yüklenecek dosya
public string? WebUrl { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ConstructorAppUI.Dtos.ReferenceDtos
{
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 ConstructorAppUI.Dtos.ReferenceDtos
{
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 ConstructorAppUI.Dtos.ReferenceDtos
{
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 ConstructorAppUI.Dtos.ServiceDtos
{
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 ConstructorAppUI.Dtos.ServiceDtos
{
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 ConstructorAppUI.Dtos.ServiceDtos
{
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,11 @@
namespace ConstructorAppUI.Dtos.SliderDtos
{
public class CreateSliderDto
{
public string? Location { get; set; }
public string? Sqm { get; set; }
public string? PriceInfo { get; set; }
public string? ImageUrl { get; set; }
public IFormFile? ImageFile { get; set; } // Yüklenecek dosya
}
}

View File

@@ -0,0 +1,11 @@
namespace ConstructorAppUI.Dtos.SliderDtos
{
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 ConstructorAppUI.Dtos.SliderDtos
{
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 ConstructorAppUI.Dtos.SliderDtos
{
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,13 @@
namespace ConstructorAppUI.Dtos.TeamDtos
{
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; }
public IFormFile? ImageFile { get; set; } // Yüklenecek dosya
}
}

View File

@@ -0,0 +1,13 @@
namespace ConstructorAppUI.Dtos.TeamDtos
{
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 ConstructorAppUI.Dtos.TeamDtos
{
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 ConstructorAppUI.Dtos.TeamDtos
{
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,14 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorAppUI.Dtos.TestimonialDtos
{
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
public IFormFile? ImageFile { get; set; } // Yüklenecek dosya
}
}

View File

@@ -0,0 +1,14 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorAppUI.Dtos.TestimonialDtos
{
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 ConstructorAppUI.Dtos.TestimonialDtos
{
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 ConstructorAppUI.Dtos.TestimonialDtos
{
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 ConstructorAppUI.Dtos.WorkProcessDtos
{
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 ConstructorAppUI.Dtos.WorkProcessDtos
{
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 ConstructorAppUI.Dtos.WorkProcessDtos
{
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
}
}