T_NBAPlayer.js 2.1 KB
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('T_NBAPlayer', {
        Id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        TeamId: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        TeamName: {
            type: DataTypes.STRING(30),
            allowNull: true
        },
        NameS: {
            type: DataTypes.STRING(30),
            allowNull: true
        },
        NameJ: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        NameF: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        NameE: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        Country: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        Birthday: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        Height: {
            type: DataTypes.INTEGER(6),
            allowNull: true
        },
        Weight: {
            type: DataTypes.INTEGER(6),
            allowNull: true
        },
        Photo: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        Place: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        NBASeniority: {
            type: DataTypes.INTEGER(6),
            allowNull: true
        },
        AverageScore: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        AverageAssists: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        AverageRebounds: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        About: {
            type: DataTypes.TEXT,
            allowNull: true
        },
        tid: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        }
    }, {
        tableName: 'T_NBAPlayer'
    });
};
//# sourceMappingURL=T_NBAPlayer.js.map