在模型类中定义元类:
class Meta: de_table = 'tableName' #指定表名
posted on 2019-03-22 21:50 biwentao 阅读(360) 评论(0) 收藏 举报