IHasModificationTime.cs 514 B

12345678910111213141516
  1. using System;
  2. namespace Abp.Domain.Entities.Auditing
  3. {
  4. /// <summary>
  5. /// An entity can implement this interface if <see cref="LastModificationTime"/> of this entity must be stored.
  6. /// <see cref="LastModificationTime"/> is automatically set when updating <see cref="Entity"/>.
  7. /// </summary>
  8. public interface IHasModificationTime
  9. {
  10. /// <summary>
  11. /// The last modified time for this entity.
  12. /// </summary>
  13. DateTime? LastModificationTime { get; set; }
  14. }
  15. }