| 2513 | ) |
| 2514 | |
| 2515 | class PointData(ComparableEntity, cls.DeclarativeBasic): |
| 2516 | __tablename__ = "point" |
| 2517 | |
| 2518 | id = Column( |
| 2519 | Integer, primary_key=True, test_needs_autoincrement=True |
| 2520 | ) |
| 2521 | graph_id = Column(ForeignKey("graph.id")) |
| 2522 | |
| 2523 | x1 = Column(Integer) |
| 2524 | y1 = Column(Integer) |
| 2525 | |
| 2526 | point = composite(Point, x1, y1) |
| 2527 | |
| 2528 | return Point, Graph, PointData |
| 2529 |