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

const ImageVisibilityType = sequelize.define('image_visibility_type', {
    id: {
        type: DataTypes.INTEGER,
        autoIncrement: true,
        primaryKey: true,
        allowNull: false
    },
    description: {
        type: DataTypes.STRING,
        allowNull: false
    }
}, {
    tableName: 'image_visibility_type',
    schema: 'type',
    timestamps: false,
    underscored: true});

export default ImageVisibilityType;
