using System; using Abp.Domain.Entities.Auditing; using Abp.Timing; namespace Abp.Application.Services.Dto { /// /// A shortcut of for most used primary key type (). /// [Serializable] public abstract class CreationAuditedEntityDto : CreationAuditedEntityDto { } /// /// This class can be inherited for simple Dto objects those are used for entities implement interface. /// /// Type of primary key [Serializable] public abstract class CreationAuditedEntityDto : EntityDto, ICreationAudited { /// /// Creation date of this entity. /// public DateTime CreationTime { get; set; } /// /// Creator user's id for this entity. /// public long? CreatorUserId { get; set; } /// /// Constructor. /// protected CreationAuditedEntityDto() { CreationTime = Clock.Now; } } }