ms_soccer_game_event.js 2.9 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_soccer_game_event', {
        id: {
            type: DataTypes.BIGINT,
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        sportsdt_pid: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        is_host: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        event_name: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        event_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        score: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        player_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        player_name: {
            type: DataTypes.STRING(40),
            allowNull: true
        },
        minute: {
            type: DataTypes.STRING(10),
            allowNull: true
        },
        sportsdt_game_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_competition_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_host_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_guest_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        player_en_name: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        grade: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_event_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_player_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_game_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_competition_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_host_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_guest_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        match_begin_time: {
            type: DataTypes.DATE,
            allowNull: true
        },
        sportsdt_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        }
    }, {
        tableName: 'ms_soccer_game_event'
    });
};
//# sourceMappingURL=ms_soccer_game_event.js.map