Files
PowderCoatingLogix/src/PowderCoating.Core/Entities/JobChangeHistory.cs
T
2026-04-23 21:38:24 -04:00

17 lines
566 B
C#

namespace PowderCoating.Core.Entities;
public class JobChangeHistory : BaseEntity
{
public int JobId { 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 Job Job { get; set; } = null!;
public ApplicationUser? ChangedBy { get; set; }
}