21 lines
722 B
C#
21 lines
722 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Microsoft.SelfService.Portal.Core.API.Models
|
|
{
|
|
public class ServiceModel : BaseModel
|
|
{
|
|
[Column(Order = 1)]
|
|
public string Name { get; set; }
|
|
[Column(Order = 2)]
|
|
public string Description { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public bool IsCloudService { get; set; }
|
|
[Column(Order = 4)]
|
|
public string? IconKey { get; set; }
|
|
|
|
public ICollection<TemplateCategoryModel> TemplateCategories { get; set; } = new List<TemplateCategoryModel>();
|
|
public ICollection<ServiceRoleDefinitionModel> RoleDefinitions { get; set; } = new List<ServiceRoleDefinitionModel>();
|
|
}
|
|
}
|