using MongoDB.Entities; namespace PrivaPub.Models.Social { // how far a persona has read a direct conversation, and up to which post it took the conversation off its list // (Mastodon's DELETE /api/v1/conversations/:id): a newer message brings it back, unread. Post ids, compared as strings. public class ConversationState : Entity { public string AvatarId { get; set; } public string ConversationId { get; set; } public string LastReadPostId { get; set; } public string HiddenUpTo { get; set; } public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; } }