add support for Query Follower\Following(s) ...
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
using xIdentityModels.Constants;
|
||||||
|
using xModels.Base;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Dtos
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// All Available Friendship Types ...
|
||||||
|
/// </summary>
|
||||||
|
public enum XFriendshipType
|
||||||
|
{
|
||||||
|
Follower = 0,
|
||||||
|
Following = 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// a DTO Class Which Represent a User Friends ...
|
||||||
|
/// </summary>
|
||||||
|
public class XFriendDto : XBaseDto
|
||||||
|
{
|
||||||
|
public string Avatar { get; set; }
|
||||||
|
public string UserId { get; set; }
|
||||||
|
public string Username { get; set; }
|
||||||
|
public string Lastname { get; set; }
|
||||||
|
public string Firstname { get; set; }
|
||||||
|
public XFriendshipType Type { get; set; }
|
||||||
|
public XFriendshipState State { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user