namespace PowderCoating.Core.Entities;

public class QuoteChangeHistory : BaseEntity
{
    public int QuoteId { get; set; }
    public string? ChangedByUserId { get; set; }
    public DateTime ChangedAt { get; set; } = DateTime.UtcNow;
    public string FieldName { get; set; } = string.Empty;
    public string? OldValue { get; set; }
    public string? NewValue { get; set; }
    public string ChangeDescription { get; set; } = string.Empty;

    // Navigation properties
    public Quote Quote { get; set; } = null!;
    public ApplicationUser? ChangedBy { get; set; }
}
