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,40 @@
using System.ComponentModel.DataAnnotations;
namespace ConstructorApp.EntityLayer.Entities
{
public enum TestimonialStatus
{
Pending, // Onay Bekliyor
Confirmed, // Gösterimde
Cancelled // Gösterimden Kaldırıldı
}
public class Testimonial
{
[Key]
public int TestimonialID { get; set; }
[StringLength(50)]
[Required]
public string? Name { get; set; }
[StringLength(100)]
[Required]
public string? Title { get; set; }
[StringLength(500)]
[Required]
public string? Comment { get; set; }
[StringLength(50)]
[Required]
public string? ImageUrl { get; set; }
[Required]
public TestimonialStatus Status { get; set; } // Durum enum'u kullanılıyor
}
}