Files
SocialPub/PrivaPub/Models/Federation/Follower.cs
T

24 lines
652 B
C#
Raw Normal View History

using MongoDB.Entities;
namespace PrivaPub.Models.Federation
{
public class Follower : Entity
{
public string LocalActorId { get; set; }
public LocalActorKind LocalActorKind { get; set; }
public string ActorURI { get; set; }
public string InboxURL { get; set; }
public string SharedInboxURL { get; set; }
public string FollowActivityURI { get; set; }
public bool IsAccepted { get; set; } = true;
public DateTime CreationDate { get; set; } = DateTime.UtcNow;
}
public enum LocalActorKind
{
Person,
Group,
Application,
Reporter//the anonymous Service that carries reports to Lemmy (LocalActorService.ReporterUserName)
}
}