/* jshint indent: 2 */

module.exports = function(sequelize, DataTypes) {
  return sequelize.define('agent', {
    agent: DataTypes.STRING,
    assistant: DataTypes.STRING,
    input: DataTypes.STRING,
    business: DataTypes.STRING,
    receiveDate: DataTypes.DATE,
    pushDate: DataTypes.DATE,
    caseId: DataTypes.STRING,
  }, {
    paranoid: true,
    underscored: true,
    timestamps: true,
    version: true,
    freezeTableName: true,
    tableName: 'agent'
  });
};
