const { DataTypes } = require("sequelize");
const sequelize = require("../config/databaseConfig");
const TblConfiguracoesFrontEndMaquina = sequelize.define("tbl_ConfiguracoesFrontEndMaquina", {
    intId: {
        type: DataTypes.BIGINT,
        primaryKey: true,
        autoIncrement: true,
      },
      intIdMaquina: {
        type: DataTypes.BIGINT,
        allowNull: true,
      },
      intCodigoAdminFrontOffice: {
        type: DataTypes.BIGINT,
        allowNull: true,
      },
      stringPortaCOM: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      bitEliminado: {
        type: DataTypes.BOOLEAN,
        allowNull: false,
      },
    
}, {
    paranoid: {
        deletedAt: 'bitEliminado',
        paranoid: true,
    },
    tableName: 'tbl_ConfiguracoesFrontEndMaquina',
});

module.exports = TblConfiguracoesFrontEndMaquina;
