| 2619 | ) |
| 2620 | |
| 2621 | class PointData(ComparableEntity, cls.DeclarativeBasic): |
| 2622 | __tablename__ = class="st">"point" |
| 2623 | |
| 2624 | id = Column( |
| 2625 | Integer, primary_key=True, test_needs_autoincrement=True |
| 2626 | ) |
| 2627 | graph_id = Column(ForeignKey(class="st">"graph.id")) |
| 2628 | |
| 2629 | x1 = Column(Integer) |
| 2630 | y1 = Column(Integer) |
| 2631 | |
| 2632 | point = composite(Point, x1, y1) |
| 2633 | |
| 2634 | return Point, Graph, PointData |
| 2635 |