reactredux/webapi/Core/Abstractions/DomainObjects/PostItemBase.cs

35 lines
746 B
C#

using Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Abstractions.DomainObjects {
public abstract class PostItemBase<T> : DomainObjectDocumentBase<T> {
/// <summary>
/// Author / Owner
/// </summary>
public Guid UserId { get; set; }
public string Title { get; set; }
public string Text { get; set; }
public string Badge { get; set; }
public List<string> Tags { get; set; }
public List<string> Categories { get; set; }
public DateTime Created { get; set; }
/// <summary>
/// Edit dateTime, and Author
/// </summary>
public Dictionary<DateTime, Guid> Edited { get; set; }
}
}