Skip to content

Instantly share code, notes, and snippets.

@tfgrahame
Last active December 29, 2015 07:49
Show Gist options
  • Save tfgrahame/7638541 to your computer and use it in GitHub Desktop.
Save tfgrahame/7638541 to your computer and use it in GitHub Desktop.
class: Person
property: statistics [expectedType: SportsStatistics]
class: SportsTeam
property: statistics [expectedType: SportsStatistics]
class: SportsResult
property: statistics [expectedType: SportsStatistics]
Class: SportsStatistics
property: bonusPoints [expectedType: Integer]
property: draws [expectedType: Integer]
property: losses [expectedType: Integer]
property: points [expectedType: Integer]
property: pointsDeducted [expectedType: Integer]
property: pointsDifference [expectedType: Integer]
property: pointsScoredAgainst [expectedType: Integer]
property: pointsScoredFor [expectedType: Integer]
property: pointsTotal [expectedType: Integer]
property: rankedPosition [expectedType: Integer]
property: score [expectedType: String]
property: scoreTotal [expectedType: String]
property: wins [expectedType: Integer]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment