Meeting.Demo/Demo.Common/Models/User.cs

49 lines
1.1 KiB
C#

using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Common.Models
{
public class User : BindableBase
{
private long id;
public long Id
{
get { return id; }
set { SetProperty(ref id, value); }
}
private string userName;
public string UserName
{
get { return userName; }
set { SetProperty(ref userName, value); }
}
private bool isManager;
public bool IsManager
{
get { return isManager; }
set { SetProperty(ref isManager, value); }
}
private bool isLocal;
public bool IsLocal
{
get { return isLocal; }
set { SetProperty(ref isLocal, value); }
}
//private bool isMain;
//public bool IsMain
//{
// get { return isMain; }
// set { SetProperty(ref isMain, value); }
//}
}
}