chart_lottery.js 1.2 KB
module.exports = function (sequelize, DataTypes) {
    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'
    });
};
//# sourceMappingURL=chart_lottery.js.map