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

const FalukantPredefineLastname = sequelize.define('lastname', {
    name: {
        type: DataTypes.STRING,
        length: 1,
        allowNull: false
    }}, {
    tableName: 'lastname',
    schema: 'falukant_predefine',
    underscored: true,
    timestamps: false,
    indexes: [
        {
            unique: true,
            fields: ['name']
        }
    ]});

export default FalukantPredefineLastname;