ms_soccer_game_lineup.ts 2.8 KB
/* jshint indent: 2 */

module.exports = function (sequelize:any, DataTypes:any) {
    return sequelize.define('ms_soccer_game_lineup', {
        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
        },
        player_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        player_name: {
            type: DataTypes.STRING(40),
            allowNull: true
        },
        player_en_name: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        sportsdt_player_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        position_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        position_name: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        shit_number: {
            type: DataTypes.STRING(4),
            allowNull: true
        },
        status: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        status_name: {
            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
        },
        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
        },
        yiqiu_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        match_begin_time: {
            type: DataTypes.DATE,
            allowNull: true
        }
    }, {
        tableName: 'ms_soccer_game_lineup'
    });
};