mirror of https://github.com/abpframework/abp.git
committed by
GitHub
5 changed files with 170 additions and 1 deletions
@ -0,0 +1,26 @@ |
|||||
|
using System; |
||||
|
using Volo.Abp.Domain.Entities; |
||||
|
|
||||
|
namespace Volo.Abp.Auditing.App.Entities |
||||
|
{ |
||||
|
[Audited] |
||||
|
public class AppEntityWithAuditedAndHasCustomAuditingProperties : AggregateRoot<Guid> |
||||
|
{ |
||||
|
protected AppEntityWithAuditedAndHasCustomAuditingProperties() |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
public AppEntityWithAuditedAndHasCustomAuditingProperties(Guid id) |
||||
|
: base(id) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
public DateTime? CreationTime { get; set; } |
||||
|
public Guid? CreatorId { get; set; } |
||||
|
public DateTime? LastModificationTime { get; set; } |
||||
|
public Guid? LastModifierId { get; set; } |
||||
|
public bool IsDeleted { get; set; } |
||||
|
public DateTime? DeletionTime { get; set; } |
||||
|
public Guid? DeleterId { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
using Volo.Abp.Domain.Entities.Auditing; |
||||
|
|
||||
|
namespace Volo.Abp.Auditing.App.Entities |
||||
|
{ |
||||
|
[Audited] |
||||
|
public class AppFullAuditedEntityWithAudited : FullAuditedAggregateRoot<Guid> |
||||
|
{ |
||||
|
protected AppFullAuditedEntityWithAudited() |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
public AppFullAuditedEntityWithAudited(Guid id, string name) |
||||
|
: base(id) |
||||
|
{ |
||||
|
Name = name; |
||||
|
} |
||||
|
|
||||
|
public string Name { get; set; } |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue