Implemented template crud, db entities, import/export, ptero and pelican import
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MoonlightServers.Api.Infrastructure.Database.Entities;
|
||||
|
||||
public class TemplateDockerImage
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[MaxLength(30)]
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
[MaxLength(255)]
|
||||
public string ImageName { get; set; }
|
||||
|
||||
public bool SkipPulling { get; set; }
|
||||
|
||||
// Relations
|
||||
public Template Template { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user