module.exports = (sequelize, DataTypes) => {
  const Announcement = sequelize.define('Announcement', {
    title: DataTypes.STRING,
    shortDescription: DataTypes.TEXT,
    fullDescription: DataTypes.TEXT,
    date: DataTypes.STRING,
    time: DataTypes.STRING,
    location: DataTypes.STRING,
    registrationLink: DataTypes.STRING,
    poster: DataTypes.STRING,
    order: DataTypes.INTEGER,
  });

  return Announcement;
};
