Refactor code structure for improved readability and maintainability
This commit is contained in:
27
Models/DeploymentRuleStepModel.cs
Normal file
27
Models/DeploymentRuleStepModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Models
|
||||
{
|
||||
public class DeploymentRuleStepModel : BaseModel
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public Guid DeploymentRuleId { get; set; }
|
||||
|
||||
[Column(Order = 2)]
|
||||
public int SortOrder { get; set; }
|
||||
|
||||
[Column(Order = 3)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public string StepType { get; set; } = QueueJobStepType.Provision;
|
||||
|
||||
[Column(Order = 5)]
|
||||
public bool RequiresApproval { get; set; }
|
||||
|
||||
[Column(Order = 6)]
|
||||
public string? MetadataJson { get; set; }
|
||||
|
||||
public DeploymentRuleModel DeploymentRule { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user