using Windows.UI.Xaml.Controls;
using ModernKeePass.ViewModels;
namespace ModernKeePass.Interfaces
{
public interface IPwEntity
{
GroupVm ParentGroup { get; }
GroupVm PreviousGroup { get; }
Symbol IconSymbol { get; }
string Id { get; }
string Name { get; set; }
string Path { get; }
bool IsEditMode { get; }
bool IsRecycleOnDelete { get; }
///
/// Move a entity to the destination group
///
/// The destination to move the entity to
void Move(GroupVm destination);
///
/// Delete from Model
///
void CommitDelete();
///
/// Restore ViewModel
///
void UndoDelete();
///
/// Save changes to Model
///
void Save();
///
/// Delete from ViewModel
///
void MarkForDelete();
}
}