using Prefab.Domain.Common; namespace Prefab.Data.Entities; /// /// Represents a field-level change within an audit log entry. /// public class AuditLogItem : Entity { /// /// Gets or sets the parent audit log identifier. /// public int AuditLogId { get; set; } /// /// Gets or sets the property name that changed. /// public string Property { get; set; } = string.Empty; /// /// Gets or sets the previous serialized value. /// public string? OldValue { get; set; } /// /// Gets or sets the new serialized value. /// public string? NewValue { get; set; } /// /// Gets or sets the navigation back to the owning audit log. /// public virtual AuditLog AuditLog { get; set; } = null!; }