23 lines
515 B
C#
23 lines
515 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MoonlightServers.Api.Infrastructure.Database.Entities;
|
|
|
|
public class TemplateVariable
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[MaxLength(30)]
|
|
public string DisplayName { get; set; }
|
|
|
|
[MaxLength(255)]
|
|
public string Description { get; set; }
|
|
|
|
[MaxLength(60)]
|
|
public string EnvName { get; set; }
|
|
|
|
[MaxLength(1024)]
|
|
public string? DefaultValue { get; set; }
|
|
|
|
// Relations
|
|
public Template Template { get; set; }
|
|
} |