Built motion from commit 42b6453.|2.0.28
[motion2.git] / server / api / schedule / schedule.attributes.js
1 var _0x24c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x30\x20\x30\x20\x2A\x20\x2A\x20\x2A","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x79\x65\x61\x72\x73","\x71\x75\x61\x72\x74\x65\x72\x73","\x6D\x6F\x6E\x74\x68\x73","\x77\x65\x65\x6B\x73","\x64\x61\x79\x73","\x68\x6F\x75\x72\x73","\x6D\x69\x6E\x75\x74\x65\x73","\x63\x73\x76","\x70\x64\x66","\x78\x6C\x73","\x63\x75\x73\x74\x6F\x6D","\x64\x65\x66\x61\x75\x6C\x74"];_0x24c1[0];var Sequelize=require(_0x24c1[1]);module[_0x24c1[2]]= {name:{type:Sequelize[_0x24c1[3]],allowNull:false},description:{type:Sequelize[_0x24c1[3]]},active:{type:Sequelize[_0x24c1[4]],allowNull:false,defaultValue:false},cron:{type:Sequelize[_0x24c1[3]],allowNull:false,defaultValue:_0x24c1[5]},startAt:{type:Sequelize[_0x24c1[6]],allowNull:false},endAt:{type:Sequelize[_0x24c1[6]],allowNull:false},subtractNumber:{type:Sequelize[_0x24c1[7]],allowNull:false,defaultValue:1,validate:{min:1}},subtractUnit:{type:Sequelize.ENUM(_0x24c1[8],_0x24c1[9],_0x24c1[10],_0x24c1[11],_0x24c1[12],_0x24c1[13],_0x24c1[14]),allowNull:false,defaultValue:_0x24c1[12]},output:{type:Sequelize.ENUM(_0x24c1[15],_0x24c1[16],_0x24c1[17]),allowNull:false,defaultValue:_0x24c1[15]},type:{type:Sequelize.ENUM(_0x24c1[18],_0x24c1[19]),allowNull:false,defaultValue:_0x24c1[18]},sendMail:{type:Sequelize[_0x24c1[4]],defaultValue:false},email:{type:Sequelize[_0x24c1[3]]}}