SocialPub/PrivaPub/Models/Post/DmPost.cs

23 lines
676 B
C#
Raw Permalink Normal View History

2023-02-18 08:52:17 +01:00
using MongoDB.Entities;
2023-02-19 00:43:43 +01:00
namespace PrivaPub.Models.Post
2023-02-18 08:52:17 +01:00
{
public class DmPost : Entity
{
public string GroupUserId { get; set; }
public string AnsweringToPostId { get; set; }
public string GroupId { get; set; }
public string Title { get; set; }
public string Text { get; set; }
public List<PostMedia> Media { get; set; } = new();
public List<float> Location { get; set; } = new();
public bool HasContentWarning { get; set; } = false;
public bool IsFederatedCopy { get; set; }
public DateTime CreationDate { get; set; } = DateTime.UtcNow;
public DateTime? UpdateDate { get; set; } = DateTime.UtcNow;
public string UpdateReason { get; set; }
}
}