修改一版

This commit is contained in:
he
2023-02-13 17:51:41 +08:00
parent ec4b1c58ef
commit 4f4f335e89
4 changed files with 135 additions and 61 deletions
@@ -9,11 +9,11 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///DefaultShortcutKey
///</summary>
[Table("DefaultShortcutKey")]
public class DefaultShortcutKey : Entity, IAuditAdd
///<summary>
///ShortcutKey
///</summary>
[Table("ShortcutKey")]
public class ShortcutKey : Entity, IAuditAdd
{
/// <summary>
/// 对应的键盘按键
@@ -40,13 +40,17 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public Guid CreateUserId { get; set; }
public bool AltKey { get; set; }
public Guid UserId { get; set; }
public bool CtrlKey { get; set; }
public bool AltKey { get; set; } = false;
public bool ShiftKey { get; set; }
public bool CtrlKey { get; set; } = false;
public bool MetaKey { get; set; }
public bool ShiftKey { get; set; } = false;
public bool MetaKey { get; set; } = false;
public string KeyboardShow { get; set; }
}