import _sequelize from 'sequelize'; const { Model, Sequelize } = _sequelize; export default class testcategories extends Model { static init(sequelize, DataTypes) { super.init({ ID: { type: DataTypes.SMALLINT, allowNull: true, primaryKey: true }, Code: { type: DataTypes.SMALLINT, allowNull: true }, Value: { type: DataTypes.STRING(100), allowNull: true } }, { sequelize, tableName: 'testcategories', timestamps: false }); return testcategories; } }