Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -6,12 +6,18 @@ namespace Microsoft.SelfService.Portal.Core.API.Models
|
||||
public class VirtualMachineModel : BaseModel
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public Guid DomainID { get; set; }
|
||||
public Guid? DomainID { get; set; }
|
||||
|
||||
[Column(Order = 2)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column(Order = 3)]
|
||||
public string? ExternalId { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public string? MetadataJson { get; set; }
|
||||
|
||||
public DomainModel Domain { get; set; }
|
||||
public DomainModel? Domain { get; set; }
|
||||
|
||||
public ICollection<DeploymentModel> Deployments { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user