22 lines
580 B
C#
22 lines
580 B
C#
using MongoDB.Entities;
|
|||
|
|
|
||
|
|
namespace PrivaPub.Models.Social
|
||
|
|
{
|
||
|
|
// a persona's answer to a remote event (owner decision 2026-10-05): a Join its organiser has taken, refused or not
|
||
|
|
// yet answered; leaving deletes it
|
||
|
|
public class Participation : Entity
|
||
|
|
{
|
||
|
|
public string AvatarId { get; set; }
|
||
|
|
public string PostId { get; set; }//the event
|
||
|
|
public ParticipationState State { get; set; }
|
||
|
|
public string ActivityURI { get; set; }//our Join
|
||
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum ParticipationState
|
||
|
|
{
|
||
|
|
Pending,
|
||
|
|
Accepted,
|
||
|
|
Rejected
|
||
|
|
}
|
||
|
|
}
|