import { sequelize } from '../../utils/sequelize.js';
import { DataTypes } from 'sequelize';

const FolderImageVisibility = sequelize.define('folder_image_visibility', {
    id: {
        type: DataTypes.INTEGER,
        autoIncrement: true,
        primaryKey: true,
        allowNull: false
    },
    folderId: {
        type: DataTypes.INTEGER,
        allowNull: false
    },
    visibilityTypeId: {
        type: DataTypes.INTEGER,
        allowNull: false
    }
}, {
    tableName: 'folder_image_visibility',
    schema: 'community',
    timestamps: false,
    underscored: true});

export default FolderImageVisibility;
