-var _0x2c45=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x45\x52\x52\x4F\x52","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x6F\x75\x74","\x64\x65\x66\x69\x6E\x65"];module[_0x2c45[0]]=function(_0x48e3x1,_0x48e3x2){var _0x48e3x3=_0x48e3x1[_0x2c45[10]](_0x2c45[1],{description:_0x48e3x2[_0x2c45[2]],host:_0x48e3x2[_0x2c45[2]],username:_0x48e3x2[_0x2c45[2]],password:_0x48e3x2[_0x2c45[2]],port:_0x48e3x2[_0x2c45[3]],ssl:{type:_0x48e3x2[_0x2c45[4]],defaultValue:false},service:{type:_0x48e3x2[_0x2c45[4]],defaultValue:false},state:{type:_0x48e3x2.ENUM(_0x2c45[5],_0x2c45[6],_0x2c45[7],_0x2c45[8]),defaultValue:_0x2c45[8]}},{tableName:_0x2c45[9]});return _0x48e3x3}
\ No newline at end of file
+/**
+ *
+ */
+
+module.exports = function(sequelize, DataTypes) {
+
+ var MailServerOut = sequelize.define('MailServerOut', {
+ description: DataTypes.STRING,
+ host: DataTypes.STRING,
+ username: {
+ type: DataTypes.STRING,
+ unique: 'username'
+ },
+ password: DataTypes.STRING,
+ port: DataTypes.INTEGER,
+ ssl: {
+ type: DataTypes.BOOLEAN,
+ defaultValue: false
+ },
+ state: {
+ type: DataTypes.ENUM('CONNECTING', 'CONNECTED', 'DISCONNECTED', 'ERROR', 'UNKNOWN'),
+ defaultValue: 'UNKNOWN'
+ },
+ source: DataTypes.STRING
+ }, {
+ tableName: 'mail_servers_out'
+ });
+
+ return MailServerOut;
+};