17 lines
604 B
C#
17 lines
604 B
C#
namespace Prefab.Domain.Common;
|
|
|
|
/// <summary>
|
|
/// All entities that require auditing, statuses and tenant information should use this.
|
|
/// </summary>
|
|
/// <typeparam name="T">The type that will represent the entity's ID field.</typeparam>
|
|
public interface IEntityWithAuditAndStatusAndTenant<T> : IEntityWithAuditAndStatus<T>, ITenant
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc cref="IEntityWithAuditAndStatusAndTenant{T}" />
|
|
public abstract class EntityWithAuditAndStatusAndTenant<T> : EntityWithAuditAndStatus<T>,
|
|
IEntityWithAuditAndStatusAndTenant<T>
|
|
{
|
|
/// <inheritdoc />
|
|
public Guid TenantId { get; set; }
|
|
} |