IHasCreationTime.cs 485 B

12345678910111213141516
  1. using System;
  2. namespace Abp.Domain.Entities.Auditing
  3. {
  4. /// <summary>
  5. /// An entity can implement this interface if <see cref="CreationTime"/> of this entity must be stored.
  6. /// <see cref="CreationTime"/> is automatically set when saving <see cref="Entity"/> to database.
  7. /// </summary>
  8. public interface IHasCreationTime
  9. {
  10. /// <summary>
  11. /// Creation time of this entity.
  12. /// </summary>
  13. DateTime CreationTime { get; set; }
  14. }
  15. }