Add project files.
This commit is contained in:
20
ConstructorApp.DtoLayer/AppUserDto/AppUserEditDto.cs
Normal file
20
ConstructorApp.DtoLayer/AppUserDto/AppUserEditDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/CompanyInfoDto/GetCompanyInfoDto.cs
Normal file
10
ConstructorApp.DtoLayer/CompanyInfoDto/GetCompanyInfoDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
|
||||
{
|
||||
public class GetCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
|
||||
{
|
||||
public class ResultCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorApp.DtoLayer.CompanyInfoVideoDto
|
||||
{
|
||||
public class UpdateCompanyInfoVideoDto
|
||||
{
|
||||
public int CompanyInfoVideoID { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/ConstructorApp.DtoLayer.csproj
Normal file
13
ConstructorApp.DtoLayer/ConstructorApp.DtoLayer.csproj
Normal 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>
|
||||
12
ConstructorApp.DtoLayer/ContactUsDto/CreateContactUsDto.cs
Normal file
12
ConstructorApp.DtoLayer/ContactUsDto/CreateContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/ContactUsDto/GetContactUsDto.cs
Normal file
13
ConstructorApp.DtoLayer/ContactUsDto/GetContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/ContactUsDto/ResultContactUsDto.cs
Normal file
13
ConstructorApp.DtoLayer/ContactUsDto/ResultContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/ContactUsDto/UpdateContactUsDto.cs
Normal file
13
ConstructorApp.DtoLayer/ContactUsDto/UpdateContactUsDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorApp.DtoLayer/FooterDto/GetFooterDto.cs
Normal file
14
ConstructorApp.DtoLayer/FooterDto/GetFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorApp.DtoLayer/FooterDto/ResultFooterDto.cs
Normal file
14
ConstructorApp.DtoLayer/FooterDto/ResultFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
ConstructorApp.DtoLayer/FooterDto/UpdateFooterDto.cs
Normal file
14
ConstructorApp.DtoLayer/FooterDto/UpdateFooterDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/HomeBannerDto/GetHomeBannerDto.cs
Normal file
10
ConstructorApp.DtoLayer/HomeBannerDto/GetHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/HomeBannerDto/ResultHomeBannerDto.cs
Normal file
10
ConstructorApp.DtoLayer/HomeBannerDto/ResultHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/HomeBannerDto/UpdateHomeBannerDto.cs
Normal file
10
ConstructorApp.DtoLayer/HomeBannerDto/UpdateHomeBannerDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
20
ConstructorApp.DtoLayer/ProjectDto/CreateProjectDto.cs
Normal file
20
ConstructorApp.DtoLayer/ProjectDto/CreateProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
21
ConstructorApp.DtoLayer/ProjectDto/GetProjectDto.cs
Normal file
21
ConstructorApp.DtoLayer/ProjectDto/GetProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
22
ConstructorApp.DtoLayer/ProjectDto/ResultProjectDto.cs
Normal file
22
ConstructorApp.DtoLayer/ProjectDto/ResultProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
21
ConstructorApp.DtoLayer/ProjectDto/UpdateProjectDto.cs
Normal file
21
ConstructorApp.DtoLayer/ProjectDto/UpdateProjectDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorApp.DtoLayer.ProjectGalleryDto
|
||||
{
|
||||
public class CreateProjectGalleryDto
|
||||
{
|
||||
public string? ImageUrl { get; set; }
|
||||
public int ProjectID { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ConstructorApp.DtoLayer.ReferenceDto
|
||||
{
|
||||
public class CreateReferenceDto
|
||||
{
|
||||
public string? LogoUrl { get; set; }
|
||||
public string? WebUrl { get; set; }
|
||||
}
|
||||
}
|
||||
9
ConstructorApp.DtoLayer/ReferenceDto/GetReferenceDto.cs
Normal file
9
ConstructorApp.DtoLayer/ReferenceDto/GetReferenceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/ServiceDto/GetServiceDto.cs
Normal file
10
ConstructorApp.DtoLayer/ServiceDto/GetServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/ServiceDto/ResultServiceDto.cs
Normal file
10
ConstructorApp.DtoLayer/ServiceDto/ResultServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/ServiceDto/UpdateServiceDto.cs
Normal file
10
ConstructorApp.DtoLayer/ServiceDto/UpdateServiceDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.DtoLayer/SliderDto/CreateSliderDto.cs
Normal file
10
ConstructorApp.DtoLayer/SliderDto/CreateSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.DtoLayer/SliderDto/GetSliderDto.cs
Normal file
11
ConstructorApp.DtoLayer/SliderDto/GetSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.DtoLayer/SliderDto/ResultSliderDto.cs
Normal file
11
ConstructorApp.DtoLayer/SliderDto/ResultSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.DtoLayer/SliderDto/UpdateSliderDto.cs
Normal file
11
ConstructorApp.DtoLayer/SliderDto/UpdateSliderDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
12
ConstructorApp.DtoLayer/TeamDto/CreateTeamDto.cs
Normal file
12
ConstructorApp.DtoLayer/TeamDto/CreateTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/TeamDto/GetTeamDto.cs
Normal file
13
ConstructorApp.DtoLayer/TeamDto/GetTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/TeamDto/ResultTeamDto.cs
Normal file
13
ConstructorApp.DtoLayer/TeamDto/ResultTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.DtoLayer/TeamDto/UpdateTeamDto.cs
Normal file
13
ConstructorApp.DtoLayer/TeamDto/UpdateTeamDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
14
ConstructorApp.DtoLayer/TestimonialDto/GetTestimonialDto.cs
Normal file
14
ConstructorApp.DtoLayer/TestimonialDto/GetTestimonialDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
12
ConstructorApp.DtoLayer/WorkProcessDto/GetWorkProcessDto.cs
Normal file
12
ConstructorApp.DtoLayer/WorkProcessDto/GetWorkProcessDto.cs
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user