tracked posts

This commit is contained in:
Paul Schneider 2017-01-17 14:56:53 +01:00
commit 51f2d709f3
15 changed files with 1504 additions and 34 deletions

View file

@ -0,0 +1,12 @@
using System;
namespace Yavsc.Models
{
public interface IBaseTrackedEntity
{
DateTime DateCreated { get; set; }
string UserCreated { get; set; }
DateTime DateModified { get; set; }
string UserModified { get; set; }
}
}

View file

@ -1,15 +1,13 @@
using System;

namespace Yavsc.Models
{
public interface IBlog
public interface IBlog : IBaseTrackedEntity
{
string AuthorId { get; set; }
string Content { get; set; }
long Id { get; set; }
DateTime Modified { get; set; }
string Photo { get; set; }
DateTime Posted { get; set; }
int Rate { get; set; }
string Title { get; set; }
bool Visible { get; set; }