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.
yy_rms_39zhiyao_duizhao/DataEntity/ModuleRelationModels.py

31 lines
1.0 KiB

#!/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="")