37 lines
796 B
C#
37 lines
796 B
C#
using Core.DomainObjects;
|
|
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> {
|
|
|
|
public List<Image> Images { get; set; }
|
|
|
|
/// <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; }
|
|
}
|
|
}
|