chart_lottery.ts
984 字节
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
/* jshint indent: 2 */
module.exports = function(sequelize:any, DataTypes:any) {
return sequelize.define('chart_lottery', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
UpdateFlag: {
type: DataTypes.BIGINT,
allowNull: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: false
},
Code: {
type: DataTypes.STRING(25),
allowNull: false
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '0'
},
DayOpenNo: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
OpenRegex: {
type: DataTypes.STRING(100),
allowNull: false
},
IssueRegex: {
type: DataTypes.STRING(100),
allowNull: true
},
AppCenterId: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '1'
}
}, {
tableName: 'chart_lottery'
});
};