-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb96bc3
commit 0f776bd
Showing
4 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package models.entities | ||
|
||
import play.api.Logging | ||
import play.api.libs.json._ | ||
|
||
case class Biosample( | ||
biosampleId: String, | ||
biosampleName: String, | ||
description: Option[String], | ||
xrefs: Option[Seq[String]], | ||
synonyms: Option[Seq[String]], | ||
parents: Option[Seq[String]], | ||
ancestors: Option[Seq[String]], | ||
children: Option[Seq[String]], | ||
descendants: Option[Seq[String]] | ||
) | ||
|
||
object Biosample extends Logging { | ||
implicit val biosampleF: OFormat[Biosample] = Json.format[Biosample] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters