Files

15 lines
496 B
C#
Raw Permalink Normal View History

using MongoDB.Entities;
namespace PrivaPub.Models.Social
{
public class Favourite : Entity
{
public string AccountId { get; set; }//Avatar.ID or ForeignAvatar.ID
public string ActorURI { get; set; }
public string PostId { get; set; }
public string ActivityURI { get; set; }
public Post.ApprovalState Approval { get; set; }//ours, on a post whose policy asks its author first
public string ApprovalURI { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}
}