presence/Presence.Desktop/Models/UserPresenter.cs

24 lines
556 B
C#
Raw Normal View History

2024-12-04 19:33:12 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2024-12-08 14:33:25 +00:00
using ReactiveUI;
2024-12-04 19:33:12 +00:00
2024-12-08 14:33:25 +00:00
namespace Presence.Desktop.Models
2024-12-04 19:33:12 +00:00
{
2024-12-08 14:33:25 +00:00
public class UserPresenter : ReactiveObject
2024-12-04 19:33:12 +00:00
{
2024-12-08 14:33:25 +00:00
private bool _isSelected;
public bool IsSelected
{
get => _isSelected;
set => this.RaiseAndSetIfChanged(ref _isSelected, value);
}
2024-12-04 19:33:12 +00:00
public Guid Guid { get; set; }
2024-12-22 19:41:45 +00:00
public string? Name { get; set; }
public GroupPresenter? Group { get; set; }
2024-12-04 19:33:12 +00:00
}
}