2026-10-01 11:32:33 +02:00
|
|
|
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; }
|
2026-10-05 11:43:58 +02:00
|
|
|
public Post.ApprovalState Approval { get; set; }//ours, on a post whose policy asks its author first
|
|
|
|
|
public string ApprovalURI { get; set; }
|
2026-10-01 11:32:33 +02:00
|
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
|
}
|
|
|
|
|
}
|