using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ConstructorApp.EntityLayer.Entities
{
    public class ProjectGallery
    {
        [Key]
        public int ProjectGalleryID { get; set; }
        [StringLength(100)]
        public string? ImageUrl { get; set; } // Logo görsel yolu
        // Proje Seçimi (Foreign Key)
        [Required]
        public int ProjectID { get; set; }

        [ForeignKey("ProjectID")]
        public virtual Project? Project { get; set; }
    }
}
