+class Machine(TableBase):
+ __tablename__ = 'machines'
+ machine_number = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
+ generation_id = Column(Integer, ForeignKey('generations.id'), primary_key=True, nullable=False, autoincrement=False)
+ move_id = Column(Integer, ForeignKey('moves.id'), nullable=False)
+
+class MoveDamageClass(TableBase):
+ __tablename__ = 'move_damage_classes'
+ id = Column(Integer, primary_key=True, nullable=False)
+ name = Column(Unicode(8), nullable=False)
+ description = Column(Unicode(64), nullable=False)
+