Complete S01 Gmail matching and import workflow
This commit is contained in:
+15
-12
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user