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

class MusicType extends Model {}

MusicType.init(
  {
    tr: {
      type: DataTypes.STRING,
      allowNull: false},
    cost: {
      type: DataTypes.INTEGER,
      allowNull: false},
    reputationGrowth: {
      type: DataTypes.INTEGER,
      allowNull: false}},
  {
    sequelize,
    modelName: 'MusicType',
    tableName: 'music',
    schema: 'falukant_type',
    timestamps: false,
    underscored: true}
);

export default MusicType;
