refacto blogPost
This commit is contained in:
parent
1d716380dd
commit
b25e0e842e
11 changed files with 85 additions and 52 deletions
|
|
@ -1,16 +1,37 @@
|
|||
using System;
|
||||
using Yavsc.Abstract.Identity;
|
||||
using Yavsc.Abstract.Identity.Security;
|
||||
using Yavsc.Blogspot;
|
||||
|
||||
namespace PostIt.Models;
|
||||
|
||||
public class BlogPost
|
||||
public class BlogPost : IBlogPost
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string? Article { get; set; }
|
||||
public string? Photo { get; set; }
|
||||
public string? AuthorId { get; set; }
|
||||
public DateTime DateCreated { get; set; }
|
||||
public string? UserCreated { get; set; }
|
||||
public DateTime DateModified { get; set; }
|
||||
public string? UserModified { get; set; }
|
||||
public string AuthorId { get; set; }
|
||||
|
||||
public IApplicationUser Author { get; set; }
|
||||
|
||||
public string Article { get; set ; }
|
||||
public string Photo { get; set ; }
|
||||
public long Id { get; set ; }
|
||||
public DateTime DateCreated { get; set ; }
|
||||
public string UserCreated { get; set ; }
|
||||
public DateTime DateModified { get; set ; }
|
||||
public string UserModified { get; set ; }
|
||||
public string Title { get; set ; }
|
||||
|
||||
public bool AuthorizeCircle(long circleId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ICircleAuthorization[] GetACL()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string[] GetTags()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue