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

class WeatherType extends Model {}

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

export default WeatherType;

