1234567891011121314151617181920212223 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace XHZB.Model
- {
- public class OnlineUserModel : IComparable<OnlineUserModel>
- {
- public int userid { set; get; }
- public string username { set; get; }
- public string userpic { set; get; }
- public int usertype { set; get; }
- public int status { get; set; }
- public int num { get; set; }
-
- public int CompareTo(OnlineUserModel other)
- {
- return string.Compare(username, other.username, true);
- }
- }
- }
|