const sequelize = require('sequelize') const db = require("../Config/db") const CategoryDetail = db.define( "TD_CATEGORY_DETAIL", { ID: { type: sequelize.INTEGER, primaryKey: true, autoIncrement: true, }, CATE_ID: { type: sequelize.INTEGER, }, ANALYSIS_ID: { type: sequelize.STRING, }, DESC_KH: { type: sequelize.STRING, }, DESC_EN: { type: sequelize.STRING, }, DESC_CN: { type: sequelize.STRING, }, CREATED_DATE: { type: sequelize.STRING, }, CREATED_BY: { type: sequelize.STRING, }, STATUS: { type: sequelize.STRING, }, }, { timestamps: false, freezeTableName: true, } ); CategoryDetail.removeAttribute("id"); module.exports = CategoryDetail;