Files
2026-03-21 11:55:27 +01:00

21 lines
599 B
C#

using System;
using System.Text.Json.Serialization;
namespace JobTrackerApi.Models
{
public class JobEvent
{
public int Id { get; set; }
public int JobApplicationId { get; set; }
[JsonIgnore]
public JobApplication JobApplication { get; set; } = null!;
public string Type { get; set; } = ""; // Created, StatusChanged, FollowUpSet, Deleted, Restored
public string? OldValue { get; set; }
public string? NewValue { get; set; }
public string? Note { get; set; }
public DateTime At { get; set; } = DateTime.Now;
}
}