点赞功能接口开发
This commit is contained in:
38
Yi.Framework.Net6/Yi.Framework.DTOModel/Vo/ArticleVo.cs
Normal file
38
Yi.Framework.Net6/Yi.Framework.DTOModel/Vo/ArticleVo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
37
Yi.Framework.Net6/Yi.Framework.DTOModel/Vo/UserVo.cs
Normal file
37
Yi.Framework.Net6/Yi.Framework.DTOModel/Vo/UserVo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user