EI-Image-Viewer-Api/IRaCIS.Core.Application/Service/Reading/Dto/DefaultShortcutKeyViewModel.cs

71 lines
1.9 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-02-13 10:38:12
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.ViewModel
{
/// <summary> DefaultShortcutKeyView 列表视图模型 </summary>
public class DefaultShortcutKeyView
{
public Guid Id { get; set; }
public string Keyboardkey { get; set; }
public int ShortcutKeyEnum { get; set; }
public int ImageToolType { get; set; }
public bool AltKey { get; set; }
public bool CtrlKey { get; set; }
public bool ShiftKey { get; set; }
public bool MetaKey { get; set; }
}
public class SetDefaultShortcutKey
{
public int ImageToolType { get; set; }
public List<DefaultShortcutKeyItem> ShortcutKeyList { get; set; }
}
public class DefaultShortcutKeyItem
{
public string Keyboardkey { get; set; }
public int ShortcutKeyEnum { get; set; }
public bool AltKey { get; set; }
public bool CtrlKey { get; set; }
public bool ShiftKey { get; set; }
public bool MetaKey { get; set; }
}
///<summary>DefaultShortcutKeyQuery 列表查询参数模型</summary>
public class DefaultShortcutKeyQuery
{
public int ImageToolType { get; set; }
public int? ShortcutKeyEnum { get; set; }
}
///<summary> DefaultShortcutKeyAddOrEdit 列表查询参数模型</summary>
public class DefaultShortcutKeyAddOrEdit
{
public Guid Id { get; set; }
public string Keyboardkey { get; set; }
public int ShortcutKeyEnum { get; set; }
public int ImageToolType { get; set; }
}
}