Implemented template crud, db entities, import/export, ptero and pelican import
This commit is contained in:
18
MoonlightServers.Shared/Admin/Templates/CreateVariableDto.cs
Normal file
18
MoonlightServers.Shared/Admin/Templates/CreateVariableDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MoonlightServers.Shared.Admin.Templates;
|
||||
|
||||
public class CreateVariableDto
|
||||
{
|
||||
[Required, MaxLength(30)]
|
||||
public string DisplayName { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(255)]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(60)]
|
||||
public string EnvName { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(1024)]
|
||||
public string? DefaultValue { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user