Skip to content

Instantly share code, notes, and snippets.

@actsasbuffoon
Created June 24, 2012 23:38
Show Gist options
  • Save actsasbuffoon/2985521 to your computer and use it in GitHub Desktop.
Save actsasbuffoon/2985521 to your computer and use it in GitHub Desktop.
Setting up a table definition
TableDefinition.register("SetSummaries", Map(
"SetID" -> java.lang.Integer,
"UserID" -> java.lang.Integer,
"ProgramNumber" -> java.lang.Integer,
"ProgramID" -> java.lang.Integer,
"SessionNumber" -> java.lang.Integer,
"SetNumber" -> java.lang.Integer,
"ExerciseID" -> java.lang.Integer,
"Skipped" -> java.lang.Boolean,
"PaceScore" -> java.lang.Integer,
"ArmLegSide" -> java.lang.String,
"PercentOneRepMax" -> java.lang.Integer,
"PlannedNumReps" -> java.lang.Integer,
"ActualNumReps" -> java.lang.Integer,
"PlannedWeight" -> java.math.BigDecimal,
"ActualWeight" -> java.math.BigDecimal,
"PlannedAvgTUT" -> java.lang.Integer,
"ActualAvgTUT" -> java.lang.Integer,
"ActualAvgLowerROM" -> java.lang.Integer,
"ActualAvgUpperROM" -> java.lang.Integer,
"ActualAvgROMDelta" -> java.lang.Integer,
"ActualAvgTimeInPacer" -> java.lang.Integer,
"ActualRestTime" -> java.lang.Integer,
"PlannedRestTime" -> java.lang.Integer,
"StartTime" -> java.sql.Timestamp,
"NumIncompleteReps" -> java.lang.Integer,
"Created_DT" -> java.sql.Timestamp,
"SessionId" -> java.lang.Integer,
"CreatedUtc_DT" -> java.sql.Timestamp
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment