using AyCode.Core.Serializers.Toons; namespace Nop.Core.Domain.Common; /// /// Represents a generic attribute /// [ToonDescription("NopCommerce generic attribute for key-value storage", Purpose = "A flexible key-value store used to extend entities with custom business logic data without changing the database schema")] public partial class GenericAttribute : BaseEntity { /// /// Gets or sets the entity identifier /// /// [ToonDescription(Constraints = "polymorphic-fk(KeyGroup)")] public int EntityId { get; set; } /// /// Gets or sets the key group /// public string KeyGroup { get; set; } /// /// Gets or sets the key /// public string Key { get; set; } /// /// Gets or sets the value /// [ToonDescription(Purpose = "Raw string representation of the Key's value")] public string Value { get; set; } /// /// Gets or sets the store identifier /// public int StoreId { get; set; } /// /// Gets or sets the created or updated date /// public DateTime? CreatedOrUpdatedDateUTC { get; set; } }