ServerMsgModel.cs 612 B

1234567891011121314151617181920
  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. public class ServerMsgModel
  9. {
  10. public string SendIP { get; set; }
  11. public string SendPort { get; set; }
  12. public string SendUserName { get; set; }
  13. public string SendMsg { get; set; }
  14. public string SendType { get; set; }//消息类型 1 登录 2 talk 3 退出
  15. public string ReceiveIP { get; set; }
  16. public string ReceivePort { get; set; }
  17. public List<OnlineUser> OnlineUser { get; set; }
  18. }
  19. }