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

37 lines
741 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 Guid SiteId { get; set; }
public string Slug { get; set; }
public List<Image> Images { get; set; }
public string Title { get; set; }
public string Text { get; set; }
public string ShortText { get; set; }
public Author Author { get; set; }
public DateTime Created { get; set; }
public List<string> Badges { get; set; }
public List<string> Tags { get; set; }
public List<Category> Categories { get; set; }
}
}