initial commit
This commit is contained in:
14
Dto/Domain/Add/AddDomainDto.cs
Normal file
14
Dto/Domain/Add/AddDomainDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Add
|
||||
{
|
||||
public class AddDomainDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public string Name { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string NetBIOS { get; set; }
|
||||
}
|
||||
}
|
||||
14
Dto/Domain/Edit/EditDomainDto.cs
Normal file
14
Dto/Domain/Edit/EditDomainDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Edit
|
||||
{
|
||||
public class EditDomainDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public string Name { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string NetBIOS { get; set; }
|
||||
}
|
||||
}
|
||||
15
Dto/Domain/Get/GetDomainDetailsDto.cs
Normal file
15
Dto/Domain/Get/GetDomainDetailsDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
{
|
||||
public class GetDomainDetailsDto : BaseDetailsDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public string Name { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string NetBIOS { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
14
Dto/Domain/Get/GetDomainDto.cs
Normal file
14
Dto/Domain/Get/GetDomainDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
{
|
||||
public class GetDomainDto : BaseDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string NetBIOS { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
11
Dto/Domain/Get/GetDomainEnvironmentDetailsDto.cs
Normal file
11
Dto/Domain/Get/GetDomainEnvironmentDetailsDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.Environment.Get;
|
||||
using Microsoft.SelfService.Portal.Core.API.Models;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
{
|
||||
public class GetDomainEnvironmentDetailsDto
|
||||
{
|
||||
public GetEnvironmentDetailsDto Environment { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
18
Dto/Domain/Get/GetDomainEnvironmentDto.cs
Normal file
18
Dto/Domain/Get/GetDomainEnvironmentDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Domain.Get
|
||||
{
|
||||
public class GetDomainEnvironmentDto : BaseDetailsDto
|
||||
{
|
||||
|
||||
[Column(Order = 1)]
|
||||
public string Name { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string NetBIOS { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public ICollection<GetDomainEnvironmentDetailsDto> EnvironmentDomains { get; set; }
|
||||
}
|
||||
}
|
||||
20
Dto/Domain/Get/GetDomainVirtualMachineDetailsDto.cs
Normal file
20
Dto/Domain/Get/GetDomainVirtualMachineDetailsDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Dto.VirtualMachine.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
|
||||
{
|
||||
|
||||
[Column(Order = 1)]
|
||||
public string Name { get; set; }
|
||||
[Column(Order = 2)]
|
||||
public string FQDN { get; set; }
|
||||
[Column(Order = 3)]
|
||||
public string NetBIOS { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public ICollection<GetVirtualMachineDto> VirtualMachines { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user