Complete S01 Gmail matching and import workflow

This commit is contained in:
2026-03-24 10:06:50 +01:00
parent 92ccf47446
commit 3e5f796326
13 changed files with 1043 additions and 105 deletions
+15 -12
View File
@@ -4,17 +4,20 @@ using System.Text.Json.Serialization;
namespace JobTrackerApi.Models
{
public class Correspondence
{
public int Id { get; set; }
public int JobApplicationId { get; set; }
{
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? ExternalMessageId { get; set; }
public string Content { get; set; } = "";
public DateTime Date { get; set; } = DateTime.Now;
}
[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? ExternalMessageId { get; set; }
public string? ExternalThreadId { get; set; }
public string? ExternalFrom { get; set; }
public string? ExternalTo { get; set; }
public string Content { get; set; } = "";
public DateTime Date { get; set; } = DateTime.Now;
}
}