20 lines
569 B
C#
20 lines
569 B
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 = 4)]
|
|
[DefaultValueSql("'New'")]
|
|
public string Status { get; set; }
|
|
|
|
public TemplateModel Template { get; set; }
|
|
|
|
public ICollection<DeploymentModel> Deployments { get; set; }
|
|
}
|
|
}
|