Skip to content

Instantly share code, notes, and snippets.

@eevee
Created October 8, 2013 06:44
Show Gist options
  • Save eevee/6880524 to your computer and use it in GitHub Desktop.
Save eevee/6880524 to your computer and use it in GitHub Desktop.
class DamageClass(Enum):
__tablename__ = 'move_damage_classes'
identifier = Identifier()
name = LocalFanText()
description = LocalFanText()
class Generation(Enum):
__tablename__ = 'generations'
identifier = Identifier()
main_region = Reference(Region)
canonical_pokedex = Reference(Pokedex)
name = LocalCanonText()
class Type(Locus):
__tablename__ = 'types'
identifier = Identifier()
generation = Reference(Generation)
damage_class = Reference(DamageClass)
name = LocalCanonText()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment