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

namespace CollectionApp.DAL.Entities
{
    public class Tag : IEntityWithId<int>
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }
        public ICollection<Item> Items { get; set; } = new List<Item>();
    }
}
