/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const RoleResource = sequelize.define("roleResource", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, roleId: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "角色id", primaryKey: false, field: "role_id", autoIncrement: false }, resId: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "权限id", primaryKey: false, field: "res_id", autoIncrement: false } }, { tableName: "role_resource", comment: "", indexes: [] }); dc.models.RoleResource = RoleResource; return RoleResource; };