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

const RoomType = sequelize.define('RoomType', {
    id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true},
    tr: {
        type: DataTypes.STRING(32),
        allowNull: false,
        unique: true}}, {
    schema: 'chat',
    tableName: 'room_type',
    timestamps: false,
    underscored: true});

export default RoomType;
