act_wheel_surf_conf.js
3.43 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* 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_url: {
type: DataTypes.STRING(500),
allowNull: true
},
share_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
share_url: {
type: DataTypes.STRING(500),
allowNull: true
},
share_title: {
type: DataTypes.STRING(100),
allowNull: true
},
share_desc: {
type: DataTypes.STRING(150),
allowNull: true
},
share_img: {
type: DataTypes.STRING(300),
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
},
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_btn_left_url: {
type: DataTypes.STRING(500),
allowNull: true
},
jump_btn_middle_url: {
type: DataTypes.STRING(500),
allowNull: true
},
jump_btn_right_url: {
type: DataTypes.STRING(500),
allowNull: true
},
jump_btn_left_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
jump_btn_middle_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
jump_btn_right_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
bottomContentCode: {
type: DataTypes.STRING(100),
allowNull: true,
field: 'bottom_content_code'
},
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;
};