PavelAndreyev1337_itransition-course-project/CollectionApp/CollectionApp.DAL/Entities/Image.cs
using CollectionApp.DAL.Interfaces;
using System.ComponentModel.DataAnnotations;

namespace CollectionApp.DAL.Entities
{
    public class Image : IEntityWithId<int>
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string ImagePath { get; set; }
        public string PublicId { get; set; }
        public int CollectionId { get; set; }
        public Collection Collection { get; set; }
    }
}
