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

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

export default FalukantPredefineFirstname;