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