Files
Microsoft.SelfService.Porta…/Models/DeploymentBatchModel.cs

28 lines
1.1 KiB
C#

using Microsoft.SelfService.Portal.Core.API.Extensions.Dataannotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class DeploymentGroupModel : BaseModel
{
[Column(Order = 2)]
public Guid TemplateId { get; set; }
[Column(Order = 3)]
public Guid? DeploymentRuleId { get; set; }
[Column(Order = 4)]
[DefaultValueSql("'New'")]
public string Status { get; set; }
public TemplateModel Template { get; set; }
public DeploymentRuleModel? DeploymentRule { get; set; }
public ICollection<DeploymentModel> Deployments { get; set; }
public ICollection<DeploymentTemplateSelectionModel> TemplateSelections { get; set; } = new List<DeploymentTemplateSelectionModel>();
public ICollection<DeploymentParameterValueModel> ParameterValues { get; set; } = new List<DeploymentParameterValueModel>();
public ICollection<DeploymentTargetAssignmentModel> TargetAssignments { get; set; } = new List<DeploymentTargetAssignmentModel>();
}
}