import { Model, DataTypes } from 'sequelize';
import { sequelize } from '../../../utils/sequelize.js';

class DebtorsPrism extends Model {}

DebtorsPrism.init({
  // Verknüpfung auf FalukantCharacter
  characterId: {
    type: DataTypes.INTEGER,
    allowNull: false}}, {
  sequelize,
  modelName: 'DebtorsPrism',
  tableName: 'debtors_prism',
  schema: 'falukant_data',
  timestamps: true,
  underscored: true});

export default DebtorsPrism;
