/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const UserRole = sequelize.define("user_role", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, roleId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, field: "role_id", }, userId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: true, comment: null, field: "user_id", }, }, { tableName: "user_role", comment: "", indexes: [] }); dc.models.UserRole = UserRole; return UserRole; };