Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user