mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
53 lines
1.1 KiB
C#
53 lines
1.1 KiB
C#
using FabAccessAPI.Schema;
|
|
using Prism.Mvvm;
|
|
|
|
namespace Borepin.Model
|
|
{
|
|
public class UserVisualize : BindableBase
|
|
{
|
|
#region Private Fields
|
|
public readonly User _User;
|
|
#endregion
|
|
|
|
#region Contructors
|
|
public UserVisualize(User user)
|
|
{
|
|
_User = user;
|
|
LoadData();
|
|
}
|
|
#endregion
|
|
|
|
#region LoadData
|
|
public void LoadData()
|
|
{
|
|
//ID = _User.Id;
|
|
Username = _User.Username;
|
|
//Space = new SpaceVisualize(_User.Space);
|
|
}
|
|
#endregion
|
|
|
|
#region Fields
|
|
private UUID _ID;
|
|
public UUID ID
|
|
{
|
|
get => _ID;
|
|
set => SetProperty(ref _ID, value);
|
|
}
|
|
|
|
private string _Username;
|
|
public string Username
|
|
{
|
|
get => _Username;
|
|
set => SetProperty(ref _Username, value);
|
|
}
|
|
|
|
private SpaceVisualize _Space;
|
|
public SpaceVisualize Space
|
|
{
|
|
get => _Space;
|
|
set => SetProperty(ref _Space, value);
|
|
}
|
|
#endregion
|
|
}
|
|
}
|