act_wheel_surf_conf.js
2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* eslint new-cap: "off" */
const options = require('../model-opts');
module.exports = function(Sequelize, DataTypes) {
const ActWheelSurfConf = Sequelize.define('ActWheelSurfConf', {
id: {
type: DataTypes.INTEGER(8),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
act_id: {
type: DataTypes.INTEGER(8),
allowNull: false
},
rule_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
rule: {
type: DataTypes.STRING(2000),
allowNull: true
},
share_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
share_url: {
type: DataTypes.STRING(500),
allowNull: true
},
main_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
wheel_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
prize_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
times_type: {
type: DataTypes.INTEGER(8),
allowNull: true
},
day_limit_times: {
type: DataTypes.INTEGER(8),
allowNull: true
},
times_type: {
type: DataTypes.INTEGER(8),
allowNull: true
},
act_total_times: {
type: DataTypes.INTEGER(8),
allowNull: true
},
day_over_limit_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
btm_tip_one: {
type: DataTypes.STRING(60),
allowNull: true
},
btm_tip_two: {
type: DataTypes.STRING(60),
allowNull: true
},
my_prize_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
jump_url_left: {
type: DataTypes.STRING(500),
allowNull: true
},
jump_url_right: {
type: DataTypes.STRING(500),
allowNull: true
},
win_prize_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
try_again_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
status: {
type: DataTypes.INTEGER(8),
allowNull: true
},
create_time: {
type: DataTypes.DATE,
defaultValue: Sequelize.NOW
}
}, Object.assign(options, {tableName: 'act_wheel_surf_conf'}));
return ActWheelSurfConf;
};