Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user