14b396a452
Add owner-filtered, job-cascading private draft storage with reversible SQLite and MariaDB migration paths. No API or UI exposes draft content yet.
18 lines
672 B
C#
18 lines
672 B
C#
namespace JobTrackerApi.Models;
|
|
|
|
public sealed class EmailDraft
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string OwnerUserId { get; set; } = string.Empty;
|
|
public int JobApplicationId { get; set; }
|
|
public JobApplication JobApplication { get; set; } = null!;
|
|
public string Provider { get; set; } = string.Empty;
|
|
public string To { get; set; } = string.Empty;
|
|
public string Subject { get; set; } = string.Empty;
|
|
public string BodyText { get; set; } = string.Empty;
|
|
public string? ThreadId { get; set; }
|
|
public long Revision { get; set; } = 1;
|
|
public DateTime CreatedAtUtc { get; set; }
|
|
public DateTime UpdatedAtUtc { get; set; }
|
|
}
|