def METHOD_NAME():
    @register(Model)
    class Address:
        id = Integer(primary_key=True)
    @register(Model)
    class Person:
        id = Integer(primary_key=True)
        address_1_id = Integer(foreign_key=Model.Address.use("id"))
        address_2_id = Integer(foreign_key=Model.Address.use("id"))
        address_1 = Many2One(model=Model.Address, column_names=["address_1_id"])
        address_2 = Many2One(model=Model.Address, column_names=["address_2_id"])
    @register(Model)  # noqa
    class Address:
        persons = One2Many(model=Model.Person)