点赞功能接口开发

This commit is contained in:
陈淳
2022-11-29 18:47:26 +08:00
parent e501b894c3
commit 9a34e63d5f
20 changed files with 296 additions and 118 deletions

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.DTOModel.Vo
{
public class ArticleVo
{
public long Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public long? UserId { get; set; }
public long? CreateUser { get; set; }
public DateTime? CreateTime { get; set; }
public long? ModifyUser { get; set; }
public DateTime? ModifyTime { get; set; }
public bool? IsDeleted { get; set; }
public long? TenantId { get; set; }
public int? OrderNum { get; set; }
public string Remark { get; set; }
public List<string> Images { get; set; }
public UserVo User { get; set; }
}
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.DTOModel.Vo
{
/// <summary>
/// 前端只需要这些数据即可
/// </summary>
public class UserVo
{
public string Name { get; set; }
public int? Age { get; set; }
public string UserName { get; set; }
public string Icon { get; set; }
public string Nick { get; set; }
//public string Email { get; set; }
//public string Ip { get; set; }
//public string Address { get; set; }
//public string Phone { get; set; }
public string Introduction { get; set; }
public int? Sex { get; set; }
}
}