module.exports = (sequelize, DataTypes) => {
  const Diagnostico = sequelize.define('Diagnostico', {
    id: {
      type: DataTypes.INTEGER,
      primaryKey: true,
      autoIncrement: true
    },
    CodigoCIE: {
      type: DataTypes.TEXT,
      allowNull: false
    },
    Title: {
      type: DataTypes.TEXT,
      allowNull: false
    },
    Detail: {
      type: DataTypes.TEXT
    }
  });
  
  return Diagnostico;
};