import _sequelize from 'sequelize'; const { Model, Sequelize } = _sequelize; export default class guildactivitytypes extends Model { static init(sequelize, DataTypes) { super.init({ ID: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true }, Code: { type: DataTypes.STRING(10), allowNull: false }, Value: { type: DataTypes.TEXT, allowNull: false }, CreationDate: { type: DataTypes.DATE, allowNull: false }, ModificationDate: { type: DataTypes.DATE, allowNull: true }, Version: { type: DataTypes.DOUBLE, allowNull: false }, Deleted: { type: DataTypes.TINYINT, allowNull: false } }, { sequelize, tableName: 'guildactivitytypes', timestamps: false }); return guildactivitytypes; } }