initial commit

This commit is contained in:
2026-04-15 15:02:32 +02:00
commit 3bfc79e6d9
1380 changed files with 69684 additions and 0 deletions

28
Models/TemplateModel.cs Normal file
View File

@@ -0,0 +1,28 @@
using Microsoft.Identity.Client;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class TemplateModel : BaseModel
{
[Column(Order = 1)]
public string Name { get; set; }
[Column(Order = 2)]
[RegularExpression("On Premise|Hybrid|Cloud")]
public bool CloudTemplate { get; set; }
[Column(Order = 3)]
public string Version { get; set; }
[Column(Order = 4)]
public string Description { get; set; }
[Column(Order = 5)]
public string JSONData { get; set; }
public TemplateCategoryModel TemplateCategory { get; set; }
public ICollection<DeploymentGroupModel> DeploymentGroups { get; set; }
public ICollection<TemplateOptionModel> TemplateOptions { get; set; }
}
}