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

const TaxiStreetName = sequelize.define('TaxiStreetName', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true,
  },
  name: {
    type: DataTypes.STRING(255),
    allowNull: false,
    unique: true,
  }
}, {
  tableName: 'taxi_street_name',
  schema: 'taxi',
  timestamps: true,
  underscored: true,
});

export default TaxiStreetName;


