Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tashiscool/85f4bbd72bcc7d61bd78d1b4633b2b50 to your computer and use it in GitHub Desktop.
Save tashiscool/85f4bbd72bcc7d61bd78d1b4633b2b50 to your computer and use it in GitHub Desktop.
case class Vehicle(
year: String,
make: String,
model: String,
vehicleStyle: String,
vehicleColor: String,
vehicleTagNumber: String,
vehicleTagYear: String,
vehicleTagState: String,
vinNumber: String,
notes: String
)
case class Narrative(
author: String,
narrtiveDate: String,
narrativeType: String,
narrativeText: String
)
case class ContactInfo(
mobilePhones: Seq[String],
homePhones: Seq[String],
workPhones: Seq[String],
emails: Seq[String]
)
case class AddresseInfo(
addressDescription: String,
addressType: String,
streetAddress: String,
city: String,
zip: String,
county: String,
state: String,
country: String
)
case class Person(
personId: String,
personType: String,
firstName: String,
middleName: String,
lastName: String,
contactInfo: ContactInfo,
addresseInfo: Seq[AddresseInfo]
)
case class PrimaryCaseInfo(
caseType: String,
requestType: String,
operator: String,
dateOfCall: String,
lawEnforcementInfo: String,
vehicle: Seq[Vehicle],
narrative: Seq[Narrative],
people: Seq[Person]
)
case class Case(
_id: Option[BSONObjectID],
primaryCaseInfo: PrimaryCaseInfo
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment