mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 15:43:14 +00:00
21 lines
690 B
C#
21 lines
690 B
C#
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
|
||
|
|
namespace Data.SeaHavenIndustries
|
||
|
|
{
|
||
|
|
public class WorkOrderAuditLog
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public int WorkOrderId { get; set; }
|
||
|
|
[ForeignKey(nameof(WorkOrderId))]
|
||
|
|
public virtual WorkOrder? WorkOrder { get; set; }
|
||
|
|
public string? UserId { get; set; }
|
||
|
|
[ForeignKey(nameof(UserId))]
|
||
|
|
public virtual ApplicationUser? User { get; set; }
|
||
|
|
public string? FieldName { get; set; }
|
||
|
|
public string? OldValue { get; set; }
|
||
|
|
public string? NewValue { get; set; }
|
||
|
|
public string? Action { get; set; }
|
||
|
|
public DateTime CreatedAt { get; set; }
|
||
|
|
}
|
||
|
|
}
|