using System.ComponentModel; using System.Text.Json.Serialization; using decePubClient.Models.Types; namespace decePubClient.Models { public class Message { public MessageUser User { get; set; } = new(); public MessageType MessageType { get; set; } = MessageType.Public; public string RootMessageId { get; set; } public string MessageId { get; set; } public string Title { get; set; } public string Content { get; set; } public bool IsFavourite { get; set; } = false; public bool IsBoosted { get; set; } = false; public List Medias { get; set; } = new(); public DateTime CreatedAt { get; set; } [Bindable(false), JsonIgnore] public bool IsOptionsOpen { get; set; } = false; } }