ce76046a29
- consolidate API ownership and remove dead vendor code - add Stripe billing, learning paths, and public CV hardening - add migration, recovery, security, audit, and browser gates
21 lines
828 B
C#
21 lines
828 B
C#
namespace JobTrackerApi.Models;
|
|
|
|
public sealed class ImapConnection
|
|
{
|
|
public int Id { get; set; }
|
|
public string OwnerUserId { get; set; } = "";
|
|
public string Host { get; set; } = "";
|
|
public int Port { get; set; } = 993;
|
|
public bool UseSsl { get; set; } = true;
|
|
public string Username { get; set; } = "";
|
|
public string EncryptedPassword { get; set; } = "";
|
|
public DateTimeOffset ConnectedAt { get; set; } = DateTimeOffset.UtcNow;
|
|
public DateTimeOffset? LastSyncedAt { get; set; }
|
|
public DateTimeOffset? LastSyncAttemptedAt { get; set; }
|
|
public DateTimeOffset? LastSyncSucceededAt { get; set; }
|
|
public string? LastSyncMode { get; set; }
|
|
public string? LastSyncSource { get; set; }
|
|
public string? LastSyncStatus { get; set; }
|
|
public string? LastSyncError { get; set; }
|
|
}
|