"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const sequelize_1 = require("sequelize");
const database_1 = __importDefault(require("../../utils/database"));
class NewsLetter extends sequelize_1.Model {
}
NewsLetter.init({
    id: {
        type: sequelize_1.DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    email: sequelize_1.DataTypes.STRING,
}, {
    sequelize: database_1.default,
    modelName: "NewsLetter",
    underscored: true,
});
exports.default = NewsLetter;
