添加主界面
This commit is contained in:
24
Model/Entity/PostEntity.cs
Normal file
24
Model/Entity/PostEntity.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Entity
|
||||
{
|
||||
public class PostEntity : BaseEntity
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string AuthorId { get; set; }
|
||||
public string AuthorName { get; set; }
|
||||
public string Category { get; set; }
|
||||
public DateTime PublishTime { get; set; }
|
||||
public int ViewCount { get; set; }
|
||||
public int LikeCount { get; set; }
|
||||
public int CommentCount { get; set; }
|
||||
public bool IsTop { get; set; }
|
||||
public bool IsEssence { get; set; }
|
||||
public string ThumbnailUrl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user