Refactor code structure for improved readability and maintainability

This commit is contained in:
Torsten Brendgen
2026-05-16 16:45:28 +02:00
parent 14f856fdb3
commit 96a3e98109
426 changed files with 29236 additions and 114 deletions

View File

@@ -10,16 +10,20 @@ namespace Microsoft.SelfService.Portal.Core.API.Models
[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)]
[Column(Order = 3)]
public string Description { get; set; }
[Column(Order = 5)]
[Column(Order = 4)]
public string JSONData { get; set; }
[Column(Order = 5)]
public Guid TemplateCategoryId { get; set; }
[Column(Order = 6)]
public Guid? DeploymentRuleId { get; set; }
public TemplateCategoryModel TemplateCategory { get; set; }
public DeploymentRuleModel? DeploymentRule { get; set; }
public ICollection<DeploymentGroupModel> DeploymentGroups { get; set; }
public ICollection<TemplateOptionModel> TemplateOptions { get; set; }