elsa-core/src/modules/Elsa.Common/Entities/Entity.cs
Sipke Schoorstra ed14a1e577
Refactor activity execution record serialization with snapshots (#6807)
- Introduced `ActivityExecutionRecordSnapshot` for encapsulated serialized data.
- Updated `DefaultActivityExecutionMapper` to build serialized snapshots.
- Adjusted `ActivityExecutionLogStore` to persist pre-serialized snapshots.
- Streamlined package version management with `MicrosoftVersion` property.
2025-07-18 14:14:19 +02:00

17 lines
389 B
C#

namespace Elsa.Common.Entities;
/// <summary>
/// Represents an entity.
/// </summary>
public abstract class Entity
{
/// <summary>
/// Gets or sets the ID of this entity.
/// </summary>
public string Id { get; set; } = null!;
/// <summary>
/// Gets or sets the ID of the tenant that own this entity.
/// </summary>
public string? TenantId { get; set; }
}