添加项目文件。
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace ContactService.WebApi.Application.FriendRequest
|
||||
{
|
||||
public class FriendRequestHandleCommand
|
||||
{
|
||||
public Guid UserId { get; private set; }
|
||||
public Guid RequestId { get; private set; }
|
||||
public FriendRequestAction Action { get; private set; }
|
||||
public string? RemarkName { get; set; }
|
||||
|
||||
public FriendRequestHandleCommand(Guid userId, Guid requestId, FriendRequestAction action, string? remarkName)
|
||||
{
|
||||
UserId = userId;
|
||||
RequestId = requestId;
|
||||
Action = action;
|
||||
RemarkName = remarkName;
|
||||
}
|
||||
}
|
||||
|
||||
public enum FriendRequestAction
|
||||
{
|
||||
Accpet = 0,
|
||||
Reject = 1,
|
||||
Block = 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user