﻿using System;

namespace JMVC.Common.Data.Interfaces
{
    /// <summary>
    /// Interface for the implementation of the audit feature on every entity that implements it.
    /// </summary>
    public interface IAuditableEntity
    {
        DateTime CreatedDate { get; set; }
        string CreatedBy { get; set; }
        DateTime? UpdatedDate { get; set; }
        string UpdatedBy { get; set; }
    }

    public interface IAuditableEntity<TKey> : IDeletableEntity<TKey>
    {

    }
}
