2025-03-13 14:34:50 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Flow.Launcher.Plugin.Sys
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Command : BaseModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
2025-03-13 15:29:00 +00:00
|
|
|
|
private string name;
|
2025-03-13 14:34:50 +00:00
|
|
|
|
[JsonIgnore]
|
2025-03-13 15:29:00 +00:00
|
|
|
|
public string Name
|
|
|
|
|
|
{
|
|
|
|
|
|
get => name;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
name = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-13 14:34:50 +00:00
|
|
|
|
|
2025-03-13 15:29:00 +00:00
|
|
|
|
private string description;
|
2025-03-13 14:34:50 +00:00
|
|
|
|
[JsonIgnore]
|
2025-03-13 15:29:00 +00:00
|
|
|
|
public string Description
|
|
|
|
|
|
{
|
|
|
|
|
|
get => description;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
description = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-13 14:34:50 +00:00
|
|
|
|
|
2025-03-13 15:29:00 +00:00
|
|
|
|
private string keyword;
|
|
|
|
|
|
public string Keyword
|
|
|
|
|
|
{
|
|
|
|
|
|
get => keyword;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
keyword = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-13 14:34:50 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|