using Api.Framework.SDK; using Chat.Framework.WXSdk; using Chat.Framework.WXSdk.Implement; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CleaningTools.Entity { /// /// 非好友类 /// public class UnFriends { public Chat.Framework.WXSdk.Implement.WeixinBase Client { get; private set; } public Chat.Framework.WXSdk.Friend Friend { get; private set; } public UnFriends(WeixinBase Client, Friend Friend) { this.Client = Client; this.Friend = Friend; } /// /// 机器人微信号 /// public string weixinhao { get { return Client.WeixinHao; } } /// /// 机器人名称 /// public string robotnick { get { return Client.User.Nick; } } /// /// 微信id /// public string weixinid { get {return Friend.UserName; } } /// /// 微信id /// public string usernick { get { return Friend.Remark; } } /// /// 微信昵称 /// public string weixinnice { get { return Friend.NickName; } } } }