Merge read receipt tracking work
This commit is contained in:
@@ -155,6 +155,18 @@ public class MailCopy
|
||||
[Ignore]
|
||||
public AccountContact SenderContact { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public bool IsReadReceiptRequested { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public SentMailReceiptStatus ReadReceiptStatus { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public DateTime? ReadReceiptAcknowledgedAtUtc { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public Guid? ReadReceiptMessageUniqueId { get; set; }
|
||||
|
||||
public IEnumerable<Guid> GetContainingIds() => [UniqueId];
|
||||
public override string ToString() => $"{Subject} <-> {Id}";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using SQLite;
|
||||
using Wino.Core.Domain.Enums;
|
||||
|
||||
namespace Wino.Core.Domain.Entities.Mail;
|
||||
|
||||
public class SentMailReceiptState
|
||||
{
|
||||
[PrimaryKey]
|
||||
public Guid MailUniqueId { get; set; }
|
||||
|
||||
public Guid AccountId { get; set; }
|
||||
|
||||
public string MessageId { get; set; }
|
||||
|
||||
public bool IsReceiptRequested { get; set; }
|
||||
|
||||
public DateTime RequestedAtUtc { get; set; }
|
||||
|
||||
public SentMailReceiptStatus Status { get; set; }
|
||||
|
||||
public DateTime? AcknowledgedAtUtc { get; set; }
|
||||
|
||||
public Guid? ReceiptMessageUniqueId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user