16 lines
602 B
C#
16 lines
602 B
C#
using MongoDB.Entities;
|
|||
|
|
|
||
|
|
namespace PrivaPub.Models.Social
|
||
|
|
{
|
||
|
|
public class Reaction : Entity
|
||
|
|
{
|
||
|
|
public string PostId { get; set; }
|
||
|
|
public string AccountId { get; set; }//Avatar.ID for a local persona, ForeignAvatar.ID for a remote account
|
||
|
|
public string ActorURI { get; set; }
|
||
|
|
public bool IsLocal { get; set; }
|
||
|
|
public string Emoji { get; set; }//a single Unicode emoji, or a custom emoji's shortcode without colons or host
|
||
|
|
public string EmojiURL { get; set; }//set for a custom emoji
|
||
|
|
public string ActivityURI { get; set; }
|
||
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||
|
|
}
|
||
|
|
}
|