module.exports = function (sequelize, DataTypes) {
    const UserRoles = sequelize.define('UserRoles', {
        userId: {
            type: DataTypes.UUID,
            primaryKey: true,
        },
        rolId: {
            type: DataTypes.UUID,
            primaryKey: true,
        },
    }, {
        tableName: 'users_roles',
        freezeTableName: true,
        timestamps: true,
    });

    return UserRoles;
};
    