EI-Image-Viewer-Api/IRaCIS.Core.Domain/Reading/ShortcutKey/DefaultShortcutKey.cs

61 lines
1.4 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-02-13 10:33:05
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///ShortcutKey
///</summary>
[Table("ShortcutKey")]
public class ShortcutKey : Entity, IAuditAdd
{
/// <summary>
/// 对应的键盘按键
/// </summary>
public string Keyboardkey { get; set; } = string.Empty;
/// <summary>
/// 按键枚举
/// </summary>
public int ShortcutKeyEnum { get; set; }
/// <summary>
/// 影像工具类型
/// </summary>
public int ImageToolType { get; set; }
/// <summary>
/// CreateTime
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// CreateUserId
/// </summary>
public Guid CreateUserId { get; set; }
public Guid UserId { get; set; }
public bool AltKey { get; set; } = false;
public bool CtrlKey { get; set; } = false;
public bool ShiftKey { get; set; } = false;
public bool MetaKey { get; set; } = false;
public string Text { get; set; }
public string Code { get; set; } = string.Empty;
}
}