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

class Mood extends Model {}

Mood.init(
  {
    id: {
      type: DataTypes.INTEGER,
      primaryKey: true,
      autoIncrement: true},
    tr: {
      type: DataTypes.STRING,
      allowNull: false}},
  {
    sequelize,
    modelName: 'Mood',
    tableName: 'mood',
    schema: 'falukant_type',
    timestamps: false,
    underscored: true}
);

export default Mood;
