Table of Contents

Interface IAuditable

Namespace
arolariu.Backend.Common.DDD.Contracts
Assembly
arolariu.Backend.Common.dll

Interface for the audit information.

public interface IAuditable

Properties

CreatedAt

The date and time when the entity was created.

DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

CreatedBy

The user (user identifier) who last updated the entity.

Guid CreatedBy { get; init; }

Property Value

Guid

IsImportant

Is the entity important to the user / system?

bool IsImportant { get; set; }

Property Value

bool

IsSoftDeleted

Is the entity soft deleted?

bool IsSoftDeleted { get; }

Property Value

bool

LastUpdatedAt

The date and time when the entity was last updated.

DateTimeOffset LastUpdatedAt { get; }

Property Value

DateTimeOffset

LastUpdatedBy

The user (user identifier) who last updated the entity.

Guid LastUpdatedBy { get; }

Property Value

Guid

NumberOfUpdates

The number of times the entity has been updated.

int NumberOfUpdates { get; }

Property Value

int