Added server rename setting
This commit is contained in:
10
Moonlight/App/Models/Forms/ServerRenameDataModel.cs
Normal file
10
Moonlight/App/Models/Forms/ServerRenameDataModel.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user