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

32 lines
869 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class EnvironmentModel : BaseModel
{
[Column(Order = 1)]
public string Name { get; set; }
[Column(Order = 2)]
public string EnvironmentType { get; set; } = EnvironmentStages.Test;
[Column(Order = 3)]
public string HostingType { get; set; } = EnvironmentHostingTypes.OnPrem;
[Column(Order = 4)]
public string? ProviderType { get; set; }
[Column(Order = 5)]
public string? TenantId { get; set; }
[Column(Order = 6)]
public string? SubscriptionId { get; set; }
[Column(Order = 7)]
public string? MetadataJson { get; set; }
public ICollection<EnvironmentDomainsModel> EnvironmentDomains { get; set; }
}
}