Files
Microsoft.SelfService.Porta…/Models/VirtualMachineModel.cs

26 lines
650 B
C#

using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class VirtualMachineModel : BaseModel
{
[Column(Order = 1)]
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 ICollection<DeploymentModel> Deployments { get; set; }
}
}