|
|
|
@ -4,12 +4,12 @@ using Volo.Abp.Auditing;
|
|
|
|
|
namespace Volo.Abp.Domain.Entities.Auditing
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Implements <see cref="IFullAuditedObjectObject{TUser}"/> to be a base class for full-audited aggregate roots.
|
|
|
|
|
/// Implements <see cref="IFullAuditedObject{TUser}"/> to be a base class for full-audited aggregate roots.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public abstract class FullAuditedAggregateRootWithUser<TUser> : FullAuditedAggregateRoot, IFullAuditedObject<TUser>
|
|
|
|
|
where TUser : IEntity<long>
|
|
|
|
|
where TUser : IEntity<Guid>
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public virtual TUser Deleter { get; set; }
|
|
|
|
@ -22,13 +22,13 @@ namespace Volo.Abp.Domain.Entities.Auditing
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Implements <see cref="IFullAuditedObjectObject{TUser}"/> to be a base class for full-audited aggregate roots.
|
|
|
|
|
/// Implements <see cref="IFullAuditedObject{TUser}"/> to be a base class for full-audited aggregate roots.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TKey">Type of the primary key of the entity</typeparam>
|
|
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public abstract class FullAuditedAggregateRootWithUser<TKey, TUser> : FullAuditedAggregateRoot<TKey>, IFullAuditedObject<TUser>
|
|
|
|
|
where TUser : IEntity<long>
|
|
|
|
|
where TUser : IEntity<Guid>
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public virtual TUser Deleter { get; set; }
|
|
|
|
|