using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Community; namespace Model { public class UserInfo : NotificationObject { public int ID { get; set; } private string userID; /// /// 用户ID /// public string UserID { get { return userID; } set { userID = value; this.RaisePropertyChanged("UserID"); } } private string userName; /// /// 用户名 /// public string UserName { get { return userName; } set { userName = value; this.RaisePropertyChanged("UserName"); } } private string userPwd; /// /// 用户密码 /// public string UserPwd { get { return userPwd; } set { userPwd = value; this.RaisePropertyChanged("UserPwd"); } } private bool theManage; /// /// 是否是管理员 /// public bool TheManage { get { return theManage; } set { theManage = value; this.RaisePropertyChanged("UserPwd"); } } public UserInfo() { LoginTime = DateTime.Now; } /// /// 用户登入时间 /// public DateTime LoginTime { get; set; } } }