框架优化

This commit is contained in:
czj
2026-05-13 10:35:35 +08:00
committed by “hsc”
parent 362e509be1
commit 60d3009670
16 changed files with 11 additions and 918 deletions

View File

@@ -1,24 +0,0 @@
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; }
}
}

View File

@@ -1,16 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.Entity
{
public class UserEntity:BaseEntity
{
public string UserName { get; set; }
public string Password { get; set; }
public string Role { get; set; }
public string Status { get; set; }
}
}