package uk.ac.wellcome.platform.api.models

sealed trait WorkFilter

case class WorkTypeFilter(workTypeIds: Seq[String]) extends WorkFilter

case object WorkTypeFilter {
  def apply(workTypeId: String): WorkTypeFilter =
    WorkTypeFilter(workTypeIds = List(workTypeId))
}

package uk.ac.wellcome.platform.api.models

sealed trait WorkFilter

case class ItemLocationTypeFilter(locationTypeIds: Seq[String]) extends WorkFilter

case object ItemLocationTypeFilter {
  def apply(locationTypeId: String): ItemLocationTypeFilter =
    ItemLocationTypeFilter(locationTypeIds = Seq(locationTypeId))
}

case class WorkTypeFilter(workTypeIds: Seq[String]) extends WorkFilter

case object WorkTypeFilter {
  def apply(workTypeId: String): WorkTypeFilter =
    WorkTypeFilter(workTypeIds = Seq(workTypeId))
}

Add the model for the ItemLocationType filter
Add the model for the ItemLocationType filter
