Files
blog.terrible.dev/src/TerribleDev.Blog.Web/Models/IPost.cs
2019-01-23 14:13:22 -05:00

24 lines
654 B
C#

using Microsoft.AspNetCore.Html;
using YamlDotNet.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TerribleDev.Blog.Web.Models
{
public interface IPost
{
string Url { get; set; }
string Title { get; set; }
HtmlString Summary { get; set; }
DateTime PublishDate { get; set; }
HtmlString Content { get; set; }
string ContentPlain { get; set; }
string SummaryPlain { get; set; }
string SummaryPlainShort { get; set; }
IList<string> tags { get; set; }
IList<string> Images { get; set;}
}
}