package uk.ac.wellcome.platform.transformer.source

import uk.ac.wellcome.platform.transformer.source.sierra.{
  Country => SierraCountry,
  Language => SierraLanguage,
  Location => SierraLocation
}

case class SierraBibData(
  title: Option[String] = None,
  deleted: Boolean = false,
  suppressed: Boolean = false,
  country: Option[SierraCountry] = None,
  lang: Option[SierraLanguage] = None,
  materialType: Option[SierraMaterialType] = None,
  locations: Option[List[SierraLocation]] = None,
  fixedFields: Map[String, FixedField] = Map(),
  varFields: List[VarField] = List()
)

package uk.ac.wellcome.platform.transformer.source

import uk.ac.wellcome.platform.transformer.source.sierra.{
  Country => SierraCountry,
  Language => SierraLanguage
}

case class SierraBibData(
  title: Option[String] = None,
  deleted: Boolean = false,
  suppressed: Boolean = false,
  country: Option[SierraCountry] = None,
  lang: Option[SierraLanguage] = None,
  materialType: Option[SierraMaterialType] = None,
  fixedFields: Map[String, FixedField] = Map(),
  varFields: List[VarField] = List()
)

--- 
+++ 
@@ -2,7 +2,8 @@
 
 import uk.ac.wellcome.platform.transformer.source.sierra.{
   Country => SierraCountry,
-  Language => SierraLanguage
+  Language => SierraLanguage,
+  Location => SierraLocation
 }
 
 case class SierraBibData(
@@ -12,6 +13,7 @@
   country: Option[SierraCountry] = None,
   lang: Option[SierraLanguage] = None,
   materialType: Option[SierraMaterialType] = None,
+  locations: Option[List[SierraLocation]] = None,
   fixedFields: Map[String, FixedField] = Map(),
   varFields: List[VarField] = List()
 )
Add locations to the bib data model
