Files
jobtrackingapp/Models/Correspondence.cs
T
2026-03-21 11:55:27 +01:00

20 lines
557 B
C#

using System;
using System.Text.Json.Serialization;
namespace JobTrackerApi.Models
{
public class Correspondence
{
public int Id { get; set; }
public int JobApplicationId { get; set; }
[JsonIgnore]
public JobApplication JobApplication { get; set; } = null!;
public string From { get; set; } = ""; // "Me" or "Company"
public string? Subject { get; set; }
public string? Channel { get; set; } // e.g. Email, Call, Note
public string Content { get; set; } = "";
public DateTime Date { get; set; } = DateTime.Now;
}
}