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