添加项目文件。
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using ContactService.Domain;
|
||||
|
||||
namespace ContactService.WebApi.Application.Dtos
|
||||
{
|
||||
public class FriendRequestResponse
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
/// <summary>
|
||||
/// 申请人
|
||||
/// </summary>
|
||||
public Guid OwnerId { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// 被申请人
|
||||
/// </summary>
|
||||
public Guid TargetId { get; private set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 申请附言
|
||||
/// </summary>
|
||||
public string Description { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// 申请状态(0:待通过,1:拒绝,2:同意,3:拉黑)
|
||||
/// </summary>
|
||||
public FriendRequestStatus State { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? RemarkName { get; private set; }
|
||||
public DateTimeOffset CreationTime { get; private set; }
|
||||
public DateTimeOffset? Deletion { get; private set; }
|
||||
|
||||
public DateTimeOffset? ModificationTime { get; private set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using ContactService.Domain;
|
||||
|
||||
namespace ContactService.WebApi.Application.Dtos
|
||||
{
|
||||
public class FriendResonse
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public Guid TargetId { get; private set; }
|
||||
public string? Avatar { get; private set; }
|
||||
public string NickName { get; private set; }
|
||||
/// <summary>
|
||||
/// 好友备注名
|
||||
/// </summary>
|
||||
public string? RemarkName { get; private set; }
|
||||
|
||||
public DateTime CreateTime { get; private set; }
|
||||
public DateTime? UpdateTime { get; private set; }
|
||||
public FriendStatus Status { get; private set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace ContactService.WebApi.Application.Dtos
|
||||
{
|
||||
public class UserInfoDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string NickName { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? Phone { get; set; }
|
||||
public string Region { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string? Avatar { get; set; }
|
||||
public DateTimeOffset CreationTime { get; set; }
|
||||
public DateTimeOffset? Deletion { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user