text: const Sequelize = require("sequelize");
  const db = require("../config");
  
  const Chungloai = db.define("chungloai", {
      id: {
          type: Sequelize.INTEGER,
          primaryKey: true,
          autoIncrement: true
      },
      ten: {
          type: Sequelize.STRING
      },
      nguoitao_id: {
          type: Sequelize.STRING
      },
      trangthai: {
          type: Sequelize.BOOLEAN
      },
      ngaytao: {
          type: Sequelize.DATE
      },
      ngaysua: {
          type: Sequelize.DATE
      }
  }, {
      timestamps: false,
      freezeTableName: true
  });
  
  module.exports = Chungloai;