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

const ClientwiseFeatures = sequelize.define('ClientwiseFeatures', {
  id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
  client_id: { type: DataTypes.INTEGER, allowNull: false },
  feature_export_module: { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: false },
  feature_sms_module: { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: false },
}, {
  tableName: 'clientwise_features',
  schema: 'public',
  timestamps: false
});

export default ClientwiseFeatures;
