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

namespace Bp.Sync.Domain.Entities.BaseEntities
{
    /// <summary>
    /// Thực thể chung
    /// </summary>
    public class BaseEntityWithKey<TKey> : BaseEntity
    {
        /// <summary>
        /// Id cua thuc the
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public TKey Id { get; set; }


    }
}
