Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -12,3 +12,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Add
|
||||
public string NetBIOS { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,3 +12,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Edit
|
||||
public string NetBIOS { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,3 +13,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,3 +12,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,3 +16,4 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
public ICollection<GetDomainEnvironmentDetailsDto> EnvironmentDomains { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-3
@@ -1,10 +1,10 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.VirtualMachine.Get;
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.Target.Get;
|
||||
using Microsoft.SelfService.Portal.Core.API.Models;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
{
|
||||
public class GetDomainVirtualMachineDetailsDto : BaseDetailsDto
|
||||
public class GetDomainTargetDetailsDto : BaseDetailsDto
|
||||
{
|
||||
|
||||
[Column(Order = 1)]
|
||||
@@ -15,6 +15,7 @@ namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
public string NetBIOS { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public ICollection<GetVirtualMachineDto> VirtualMachines { get; set; }
|
||||
public ICollection<GetTargetDto> Targets { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user