28 lines
758 B
C#
28 lines
758 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; } = EnvironmentTypes.OnPrem;
|
|
|
|
[Column(Order = 3)]
|
|
public string? ProviderType { get; set; }
|
|
|
|
[Column(Order = 4)]
|
|
public string? TenantId { get; set; }
|
|
|
|
[Column(Order = 5)]
|
|
public string? SubscriptionId { get; set; }
|
|
|
|
[Column(Order = 6)]
|
|
public string? MetadataJson { get; set; }
|
|
|
|
public ICollection<EnvironmentDomainsModel> EnvironmentDomains { get; set; }
|
|
}
|
|
}
|