ms_recharge_channels.js 3.0 KB
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_recharge_channels', {
        id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        type_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        type_name: {
            type: DataTypes.STRING(50),
            allowNull: false
        },
        channel_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        channel_name: {
            type: DataTypes.STRING(50),
            allowNull: false
        },
        channel_desc: {
            type: DataTypes.STRING(200),
            allowNull: false
        },
        sort_serial: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        is_enable: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        is_vip: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        vip_levels: {
            type: DataTypes.STRING(25),
            allowNull: true
        },
        account: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        account_holder: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        memo: {
            type: DataTypes.STRING(200),
            allowNull: true
        },
        ios_enable: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        android_enable: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        json_config: {
            type: DataTypes.JSON,
            allowNull: true
        },
        image_url: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        sub_title: {
            type: DataTypes.STRING(1000),
            allowNull: true
        },
        is_h5: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        enable_daily_start_time: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        enable_daily_end_time: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        ios_version_code: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        android_version_code: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        min_money: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        max_money: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        max_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        is_check_identity: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        }
    }, {
        tableName: 'ms_recharge_channels'
    });
};
//# sourceMappingURL=ms_recharge_channels.js.map