teamlead-dashboard/src/TUI/Domain/Project.cs

12 lines
350 B
C#
Raw Normal View History

2024-04-01 13:37:40 +00:00
namespace TUI.Domain;
public record Project(int Id, string Name, IEnumerable<string> Tags, string Hub)
{
private IEnumerable<Dependency> Dependencies => new List<Dependency>();
public bool IsPublicNetwork => Tags.Contains("public");
public bool HasAuth => Tags.Contains("auth");
public bool SeoDependent => Tags.Contains("seo");
}