TFLH/Model/UserInfo.cs
2026-08-06 09:50:46 +08:00

85 lines
1.7 KiB
C#

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;
/// <summary>
/// 用户ID
/// </summary>
public string UserID
{
get { return userID; }
set
{
userID = value;
this.RaisePropertyChanged("UserID");
}
}
private string userName;
/// <summary>
/// 用户名
/// </summary>
public string UserName
{
get { return userName; }
set
{
userName = value;
this.RaisePropertyChanged("UserName");
}
}
private string userPwd;
/// <summary>
/// 用户密码
/// </summary>
public string UserPwd
{
get { return userPwd; }
set
{
userPwd = value;
this.RaisePropertyChanged("UserPwd");
}
}
private bool theManage;
/// <summary>
/// 是否是管理员
/// </summary>
public bool TheManage
{
get { return theManage; }
set
{
theManage = value;
this.RaisePropertyChanged("UserPwd");
}
}
public UserInfo()
{
LoginTime = DateTime.Now;
}
/// <summary>
/// 用户登入时间
/// </summary>
public DateTime LoginTime { get; set; }
}
}