| 223 | id = Column(Integer, primary_key=True) |
| 224 | |
| 225 | class C(ComparableEntity, Base): |
| 226 | __tablename__ = "c" |
| 227 | |
| 228 | id = Column(Integer, primary_key=True) |
| 229 | a_id = Column(ForeignKey("a.id")) |
| 230 | |
| 231 | class D(ComparableEntity, Base): |
| 232 | __tablename__ = "d" |