Remotely/Remotely_Library/Models/RemotelyUserOptions.cs
Jared Goodwin 8debc4bad5 Initial
2021-07-29 07:53:41 -07:00

32 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Remotely_Library.Models
{
public class RemotelyUserOptions
{
[Key]
public string ID { get; set; } = Guid.NewGuid().ToString();
[Display(Name ="Console Prompt")]
[StringLength(5)]
public string ConsolePrompt { get; set; } = "~>";
[Display(Name = "Web Shortcut")]
[StringLength(10)]
public string CommandModeShortcutRemotely { get; set; } = "/web";
[Display(Name = "PS Core Shortcut")]
[StringLength(10)]
public string CommandModeShortcutPSCore { get; set; } = "/pscore";
[Display(Name = "Windows PS Shortcut")]
[StringLength(10)]
public string CommandModeShortcutWinPS { get; set; } = "/winps";
[Display(Name = "CMD Shortcut")]
[StringLength(10)]
public string CommandModeShortcutCMD { get; set; } = "/cmd";
[Display(Name = "Bash Shortcut")]
[StringLength(10)]
public string CommandModeShortcutBash { get; set; } = "/bash";
}
}