Add project files.
This commit is contained in:
10
ConstructorAppUI/Dtos/CompanyInfoDtos/GetCompanyInfoDto.cs
Normal file
10
ConstructorAppUI/Dtos/CompanyInfoDtos/GetCompanyInfoDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
|
||||
|
||||
{
|
||||
public class GetCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
|
||||
{
|
||||
public class ResultCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorAppUI.Dtos.CompanyInfoVideoDtos
|
||||
{
|
||||
public class UpdateCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
}
|
||||
}
|
||||
25
ConstructorAppUI/Dtos/ContactUsDtos/CreateContactUsDto.cs
Normal file
25
ConstructorAppUI/Dtos/ContactUsDtos/CreateContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/ContactUsDtos/GetContactUsDto.cs
Normal file
13
ConstructorAppUI/Dtos/ContactUsDtos/GetContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/ContactUsDtos/ResultContactUsDto.cs
Normal file
13
ConstructorAppUI/Dtos/ContactUsDtos/ResultContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/ContactUsDtos/UpdateContactUsDto.cs
Normal file
13
ConstructorAppUI/Dtos/ContactUsDtos/UpdateContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorAppUI/Dtos/FooterDtos/GetFooterDto.cs
Normal file
14
ConstructorAppUI/Dtos/FooterDtos/GetFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorAppUI/Dtos/FooterDtos/ResultFooterDto.cs
Normal file
14
ConstructorAppUI/Dtos/FooterDtos/ResultFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorAppUI/Dtos/FooterDtos/UpdateFooterDto.cs
Normal file
14
ConstructorAppUI/Dtos/FooterDtos/UpdateFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/HomeBannerDtos/GetHomeBannerDto.cs
Normal file
10
ConstructorAppUI/Dtos/HomeBannerDtos/GetHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/HomeBannerDtos/ResultHomeBannerDto.cs
Normal file
10
ConstructorAppUI/Dtos/HomeBannerDtos/ResultHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/HomeBannerDtos/UpdateHomeBannerDto.cs
Normal file
10
ConstructorAppUI/Dtos/HomeBannerDtos/UpdateHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
21
ConstructorAppUI/Dtos/ProjectDtos/CreateProjectDto.cs
Normal file
21
ConstructorAppUI/Dtos/ProjectDtos/CreateProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
21
ConstructorAppUI/Dtos/ProjectDtos/GetProjectDto.cs
Normal file
21
ConstructorAppUI/Dtos/ProjectDtos/GetProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
30
ConstructorAppUI/Dtos/ProjectDtos/ResultProjectDto.cs
Normal file
30
ConstructorAppUI/Dtos/ProjectDtos/ResultProjectDto.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
21
ConstructorAppUI/Dtos/ProjectDtos/UpdateProjectDto.cs
Normal file
21
ConstructorAppUI/Dtos/ProjectDtos/UpdateProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorAppUI.Dtos.ProjectGalleryDtos
|
||||
{
|
||||
public class CreateProjectGalleryDto
|
||||
{
|
||||
public string? ImageUrl { get; set; }
|
||||
public int ProjectID { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
9
ConstructorAppUI/Dtos/ReferenceDtos/GetReferenceDto.cs
Normal file
9
ConstructorAppUI/Dtos/ReferenceDtos/GetReferenceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/ServiceDtos/GetServiceDto.cs
Normal file
10
ConstructorAppUI/Dtos/ServiceDtos/GetServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/ServiceDtos/ResultServiceDto.cs
Normal file
10
ConstructorAppUI/Dtos/ServiceDtos/ResultServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorAppUI/Dtos/ServiceDtos/UpdateServiceDto.cs
Normal file
10
ConstructorAppUI/Dtos/ServiceDtos/UpdateServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorAppUI/Dtos/SliderDtos/CreateSliderDto.cs
Normal file
11
ConstructorAppUI/Dtos/SliderDtos/CreateSliderDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
11
ConstructorAppUI/Dtos/SliderDtos/GetSliderDto.cs
Normal file
11
ConstructorAppUI/Dtos/SliderDtos/GetSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorAppUI/Dtos/SliderDtos/ResultSliderDto.cs
Normal file
11
ConstructorAppUI/Dtos/SliderDtos/ResultSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorAppUI/Dtos/SliderDtos/UpdateSliderDto.cs
Normal file
11
ConstructorAppUI/Dtos/SliderDtos/UpdateSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/TeamDtos/CreateTeamDto.cs
Normal file
13
ConstructorAppUI/Dtos/TeamDtos/CreateTeamDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/TeamDtos/GetTeamDto.cs
Normal file
13
ConstructorAppUI/Dtos/TeamDtos/GetTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/TeamDtos/ResultTeamDto.cs
Normal file
13
ConstructorAppUI/Dtos/TeamDtos/ResultTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorAppUI/Dtos/TeamDtos/UpdateTeamDto.cs
Normal file
13
ConstructorAppUI/Dtos/TeamDtos/UpdateTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
14
ConstructorAppUI/Dtos/TestimonialDtos/GetTestimonialDto.cs
Normal file
14
ConstructorAppUI/Dtos/TestimonialDtos/GetTestimonialDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
12
ConstructorAppUI/Dtos/WorkProcessDtos/GetWorkProcessDto.cs
Normal file
12
ConstructorAppUI/Dtos/WorkProcessDtos/GetWorkProcessDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user