﻿namespace Dike.Core.Application.Services.Dto
{
    /// <summary>
    /// Implement this interface to define a class per definition as entity based DTO object. All entity based DTO objects in the system must implement this interface.
    /// </summary>
    /// <typeparam name="TPrimaryKey">The type of the t primary key.</typeparam>
    public interface IEntityDto<TPrimaryKey>
    {
        #region Properties

        /// <summary>
        /// Gets or sets the primary key identifier.
        /// </summary>
        /// <value>
        /// The primary key identifier.
        /// </value>
        TPrimaryKey Id
        {
            get;
            set;
        }

        #endregion Properties
    }
}