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

37 lines
1.1 KiB
C#

using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Txgy.EWS.Client.Models
{
public class UserInfoModel : BindableBase
{
public int Index { get; set; }
public int UserId { get; set; }
public string UserIcon { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public int Age { get; set; }
public string RealName { get; set; }
public ObservableCollection<RoleModel> Roles { get; set; } = new ObservableCollection<RoleModel>();
public ICommand EditCommand { get; set; }
public ICommand DeleteCommand { get; set; }
public ICommand RoleCommand { get; set; }
public ICommand PwdCommand { get; set; }
private bool _isSelected;
public bool IsSelected
{
get => _isSelected;
set { SetProperty<bool>(ref _isSelected, value); }
}
}
}