import _sequelize from 'sequelize'; const { Model, Sequelize } = _sequelize; export default class testresultcategories 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: 'testresultcategories', timestamps: false }); return testresultcategories; } }