18 lines
561 B
C#
18 lines
561 B
C#
using MongoDB.Entities;
|
|||
|
|
|
||
|
|
namespace PrivaPub.Models.Federation
|
||
|
|
{
|
||
|
|
public class Delivery : Entity
|
||
|
|
{
|
||
|
|
public string SignerId { get; set; }
|
||
|
|
public LocalActorKind SignerKind { get; set; }
|
||
|
|
public string InboxURL { get; set; }
|
||
|
|
public string Body { get; set; }
|
||
|
|
public int Attempts { get; set; }
|
||
|
|
public DateTime NextAttemptAt { get; set; } = DateTime.UtcNow;
|
||
|
|
public DateTime? DeliveredAt { get; set; }
|
||
|
|
public DateTime? AbandonedAt { get; set; }
|
||
|
|
public string LastError { get; set; }
|
||
|
|
public DateTime CreationDate { get; set; } = DateTime.UtcNow;
|
||
|
|
}
|
||
|
|
}
|