-var _0x9153=["\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[_0x9153[0]]=function(_0xc778x1,_0xc778x2){var _0xc778x3=_0xc778x1[_0x9153[10]](_0x9153[1],{description:_0xc778x2[_0x9153[2]],host:_0xc778x2[_0x9153[2]],username:_0xc778x2[_0x9153[2]],password:_0xc778x2[_0x9153[2]],port:_0xc778x2[_0x9153[3]],ssl:{type:_0xc778x2[_0x9153[4]],defaultValue:false},service:{type:_0xc778x2[_0x9153[4]],defaultValue:false},state:{type:_0xc778x2.ENUM(_0x9153[5],_0x9153[6],_0x9153[7],_0x9153[8]),defaultValue:_0x9153[8]}},{tableName:_0x9153[9]});return _0xc778x3}
\ 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;
+};