const sequelize = require('sequelize') const db = require('../Config/db') const DeliveryAddressModel = db.define( 'TDDADD', { ADD_CODE: { type: sequelize.STRING, }, DB_CODE: { type: sequelize.STRING }, DEL_CODE: { type: sequelize.STRING }, DEL_NAME: { type: sequelize.STRING }, DEL_ADD_1: { type: sequelize.STRING }, DEL_ADD_2: { type: sequelize.STRING }, DEL_ADD_3: { type: sequelize.STRING }, DEL_ADD_4: { type: sequelize.STRING }, DEL_ADD_5: { type: sequelize.STRING }, DEL_TEL: { type: sequelize.STRING }, DEL_FAX: { type: sequelize.STRING }, DEL_EMAIL: { type: sequelize.STRING }, DEL_WEB: { type: sequelize.STRING }, DEL_CONT: { type: sequelize.STRING }, DEL_COM_1: { type: sequelize.STRING }, DEL_COM_2: { type: sequelize.STRING }, DEL_TYPE: { type: sequelize.CHAR }, DEL_STAT: { type: sequelize.CHAR }, USER_CREA: { type: sequelize.STRING }, USER_UPDT: { type: sequelize.STRING }, USER_CODE: { type: sequelize.STRING } }, { timestamps: false, freezeTableName: true, } ) DeliveryAddressModel.removeAttribute('id') module.exports = DeliveryAddressModel;