24 lines
734 B
C#
24 lines
734 B
C#
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; }
|
|
}
|
|
} |