Files

31 lines
790 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class TargetModel : BaseModel
{
[Column(Order = 1)]
public Guid? DomainID { get; set; }
[Column(Order = 2)]
public string Name { get; set; }
[Column(Order = 3)]
public string TargetType { get; set; } = "VirtualMachine";
[Column(Order = 4)]
public string ProviderType { get; set; } = "OnPrem";
[Column(Order = 5)]
public string? ExternalId { get; set; }
[Column(Order = 6)]
public string? MetadataJson { get; set; }
public DomainModel? Domain { get; set; }
public ICollection<DeploymentModel> Deployments { get; set; }
}
}