const { DataTypes, Model } = require('sequelize') const sequelize = require('../../config/sequelize.conf') class Plantel extends Model {} Plantel.init( { idPlantel: { type: DataTypes.INTEGER, primaryKey: true, allowNull: false, unique: true, }, plantel: { type: DataTypes.STRING(60), allowNull: false, }, }, { sequelize, modelName: 'Plantel', tableName: 'plantel', timestamps: false, } ) module.exports = Plantel