This commit is contained in:
2025-10-27 17:39:18 -04:00
commit 31f723bea4
1579 changed files with 642409 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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; }
}