namespace AIStudio.Tools.Databases.IndexStore; /// /// One address from the header of a mail. /// internal sealed class MailAddressEntity { public int Id { get; set; } public string ParentFileId { get; set; } = string.Empty; /// /// The header the address comes from: FROM, SENDER, REPLY_TO, TO, CC or BCC, stored by name. /// public string Role { get; set; } = string.Empty; /// /// The place of the address within its header, starting at zero. /// public int Position { get; set; } public string Address { get; set; } = string.Empty; /// /// The name shown next to the address, empty when the header gives none. /// public string DisplayName { get; set; } = string.Empty; public MailMessageEntity? Message { get; set; } }