星火直播PC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OnlineUserModel.cs 609B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace XHZB.Model
  7. {
  8. public class OnlineUserModel : IComparable<OnlineUserModel>
  9. {
  10. public int userid { set; get; }
  11. public string username { set; get; }
  12. public string userpic { set; get; }
  13. public int usertype { set; get; }
  14. public int status { get; set; }
  15. public int num { get; set; }
  16. public int CompareTo(OnlineUserModel other)
  17. {
  18. return string.Compare(username, other.username, true);
  19. }
  20. }
  21. }