using System;
using System.Xml.Serialization;
namespace GrasscutterTools.Utils
{
///
/// 热键项
///
public class HotKeyItem
{
///
/// Gets or sets the hot key identifier.
///
///
/// The hot key identifier.
///
[XmlIgnore]
public int HotKeyID { get; set; }
///
/// Gets or sets the name of the Tag.
///
///
/// The name of the Tag.
///
public string Tag { get; set; }
///
/// Gets or sets the Commands.
///
///
/// The Commands.
///
public string Commands { get; set; }
///
/// Gets or sets the hot key.
/// 组合键之间使用+隔开,例如:"Ctrl+Shift+W"
///
///
/// The hot key.
///
public string HotKey { get; set; }
///
/// Gets or sets a value indicating whether this is enabled.
///
///
/// true if enabled; otherwise, false.
///
public bool Enabled { get; set; } = true;
///
/// Gets or sets the trigger counter.
///
///
/// The trigger counter.
///
public int TriggerCounter { get; set; }
///
/// Gets or sets the creation time.
///
///
/// The creation time.
///
public DateTime CreationTime { get; set; } = DateTime.Now;
///
/// Gets or sets the last modified time.
///
///
/// The last modified time.
///
public DateTime LastModifiedTime { get; set; } = DateTime.Now;
}
}