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,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; }
}
}