module.exports = function (sequelize, DataTypes) {
    const EntityEntitiesTypes = sequelize.define('EntityEntitiesTypes', {
        entityId: {
            type: DataTypes.UUID,
            primaryKey: true,
            allowNull: false,
        },
        typeId: {
            type: DataTypes.UUID,
            primaryKey:  true,
            allowNull: false,
        },
    }, {
        tableName: 'entities_entities_types',
        freezeTableName: true,
        timestamps: true,
    });


    return EntityEntitiesTypes;
};