19 lines
512 B
C#
19 lines
512 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Microsoft.SelfService.Portal.Core.API.Models
|
|
{
|
|
public class DeploymentRuleModel : BaseModel
|
|
{
|
|
[Column(Order = 1)]
|
|
public string Name { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public string? Description { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
public ICollection<DeploymentRuleStepModel> Steps { get; set; } = new List<DeploymentRuleStepModel>();
|
|
}
|
|
}
|