namespace Abp.Domain.Entities.Auditing
{
///
/// This interface is implemented by entities that is wanted to store creation information (who and when created).
/// Creation time and creator user are automatically set when saving to database.
///
public interface ICreationAudited : IHasCreationTime
{
///
/// Id of the creator user of this entity.
///
long? CreatorUserId { get; set; }
}
///
/// Adds navigation properties to interface for user.
///
/// Type of the user
public interface ICreationAudited : ICreationAudited
where TUser : IEntity
{
///
/// Reference to the creator user of this entity.
///
TUser CreatorUser { get; set; }
}
}