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,34 @@
using Prefab.Domain.Common;
namespace Prefab.Data.Entities;
/// <summary>
/// Represents a persisted generic attribute for an entity.
/// </summary>
public class GenericAttribute : EntityWithAuditAndStatus<int>
{
/// <summary>
/// Gets or sets the owning entity identifier.
/// </summary>
public Guid EntityId { get; set; }
/// <summary>
/// Gets or sets the logical group used to partition attributes by entity type.
/// </summary>
public string KeyGroup { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the attribute key.
/// </summary>
public string Key { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the fully qualified type name of the serialized value.
/// </summary>
public string Type { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the serialized attribute value.
/// </summary>
public string Value { get; set; } = string.Empty;
}