Added server rename setting

This commit is contained in:
Marcel Baumgartner
2023-04-04 01:54:06 +02:00
parent 1a39faff9e
commit ef58478232
5 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.App.Models.Forms;
public class ServerRenameDataModel
{
[Required(ErrorMessage = "You need to enter a name")]
[MaxLength(32, ErrorMessage = "The name cannot be longer that 32 characters")]
public string Name { get; set; }
}