using System.ComponentModel.DataAnnotations;
namespace AyCode.Interfaces.Entities
{
public interface IEntity
}
public interface IEntity<TPKey> : IEntity
[Key] TPKey Id { get; set; }
//T SetId(T id);