Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.Deployment.Get;
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.DeploymentComposition.Get;
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.Template.Get;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentBatch.Get
|
||||
{
|
||||
public class GetDeploymentBatchDetailsDto : BaseDto
|
||||
{
|
||||
public Guid? DeploymentRuleId { get; set; }
|
||||
|
||||
public string Status { get; set; } = string.Empty;
|
||||
|
||||
public GetTemplateDetailsDto Template { get; set; } = null!;
|
||||
|
||||
public ICollection<GetDeploymentDetailsDto> Deployments { get; set; } = new List<GetDeploymentDetailsDto>();
|
||||
public ICollection<GetDeploymentTemplateSelectionDto> TemplateSelections { get; set; } = new List<GetDeploymentTemplateSelectionDto>();
|
||||
public ICollection<GetDeploymentParameterValueDto> ParameterValues { get; set; } = new List<GetDeploymentParameterValueDto>();
|
||||
public ICollection<GetDeploymentTargetAssignmentDto> TargetAssignments { get; set; } = new List<GetDeploymentTargetAssignmentDto>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentBatch.Get
|
||||
{
|
||||
public class GetDeploymentBatchDto : BaseDetailsDto
|
||||
{
|
||||
public Guid TemplateId { get; set; }
|
||||
|
||||
public Guid? DeploymentRuleId { get; set; }
|
||||
|
||||
public string Status { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user