参考:https://www.jianshu.com/p/92890a4ec0cb https://github.com/greyli/helloflask/blob/master/demos/database/app.pySQLAlchemy一对多SQLAlchemy多对一SQLAlchemy一对一SQLAlchemy多对多