package uk.ac.wellcome.models

sealed trait AbstractAgent {
  val label: String
}

case class Agent(
  label: String
) extends AbstractAgent

case class Organisation(
  label: String
) extends AbstractAgent

case class Person(
  label: String,
  prefixes: Option[List[String]] = None,
  numeration: Option[String] = None
) extends AbstractAgent

package uk.ac.wellcome.models

sealed trait AbstractAgent {
  val label: String
}

case class Agent(
  label: String
) extends AbstractAgent

case class Organisation(
  label: String
) extends AbstractAgent

case class Person(label: String,
                  prefixes: Option[List[String]] = None,
                  numeration: Option[String] = None)
    extends AbstractAgent

Reduce churn in the GitHub diff
Reduce churn in the GitHub diff
