mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-01-14 15:53:53 +01:00
15 lines
527 B
Scala
15 lines
527 B
Scala
package controllers
|
|
|
|
final case class TeamId(id: String) extends AnyVal {
|
|
def name = id
|
|
}
|
|
|
|
final case class Team(id: String, name: String, leader: String, projectNames: Set[String])
|
|
|
|
// TODO: rename to something more sane. It is maybe rather FilteringData now.
|
|
final case class ProjectsWithSelection(filter: Filter, projectsWithReports: ProjectsWithReports, teams: Set[Team]) {
|
|
def isProjectSpecified: Boolean = filter.filters
|
|
def selectorString = filter.selector
|
|
def projectNameText: String = filter.descriptionText
|
|
}
|