You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@Date:2022/07/13 15:00:46
'''
# 已同步本地数据库
from sqlalchemy import Column , String , Integer
from sqlalchemy . ext . declarative import declarative_base
# #终端模块权限实体类
class EntityModuleRelation ( declarative_base ( ) ) :
__tablename__ = " rms_module_relation "
__table_args__ = (
{
" comment " : " 终端模块权限实体类 "
}
)
module_relation_id = Column ( String ( 50 ) , primary_key = True , comment = " 关系ID " )
customer_id = Column ( String ( 50 ) , comment = " 客户ID " )
object_type = Column ( String ( 50 ) , comment = " 对象类型( 1: 角色2: 用户) " )
object_id = Column ( String ( 50 ) , comment = " 对象ID " )
module_type = Column ( String ( 50 ) , comment = " 模块类型 " )
module_id = Column ( String ( 50 ) , comment = " 模块ID " )
create_date = Column ( String ( 50 ) , comment = " 创建日期 " )
create_user_id = Column ( String ( 50 ) , comment = " 创建用户ID " )
create_user_name = Column ( String ( 50 ) , comment = " 创建用户名 " )
is_add = Column ( Integer , comment = " " )