ClientMsgModel.cs 639 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SocketChat.Common
  7. {
  8. /// <summary>
  9. /// 客户端消息
  10. /// </summary>
  11. public class ClientMsgModel
  12. {
  13. public string IP { get; set; }
  14. public string Port { get; set; }
  15. public string UserName { get; set; }
  16. public string Msg { get; set; }
  17. public string Type { get; set; }//消息类型 1 登录 2 talk 3 退出
  18. public string NowDate { get; set; }
  19. public string ReceiveIP { get; set; }
  20. public string ReceivePort { get; set; }
  21. }
  22. }