From f8e07ed23b00f935a3a1831026600f12d3179943 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sat, 2 Aug 2025 15:14:53 +0330 Subject: [PATCH] add support for Query Follower\Following(s) ... --- Dtos/XFriendDto.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Dtos/XFriendDto.cs diff --git a/Dtos/XFriendDto.cs b/Dtos/XFriendDto.cs new file mode 100644 index 0000000..0663aa4 --- /dev/null +++ b/Dtos/XFriendDto.cs @@ -0,0 +1,28 @@ +using xIdentityModels.Constants; +using xModels.Base; + +namespace xIdentityModels.Dtos +{ + /// + /// All Available Friendship Types ... + /// + public enum XFriendshipType + { + Follower = 0, + Following = 1, + } + + /// + /// a DTO Class Which Represent a User Friends ... + /// + 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; } + } +} \ No newline at end of file