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

class RelationshipType extends Model {}

RelationshipType.init(
  {
    tr: {
      type: DataTypes.STRING,
      allowNull: false}
  },
  {
    sequelize,
    modelName: 'RelationshipType',
    tableName: 'relationship',
    schema: 'falukant_type',
    timestamps: false, 
    underscored: true}
);

export default RelationshipType;
