initial commit
This commit is contained in:
28
Models/TemplateModel.cs
Normal file
28
Models/TemplateModel.cs
Normal 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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user