ms_soccer_coach_rank.js 1.8 KB
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_soccer_coach_rank', {
        year: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true
        },
        coach_Id: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        coach_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        imago_url: {
            type: DataTypes.STRING(255),
            allowNull: true
        },
        national_id: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        national_name: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        national_url: {
            type: DataTypes.STRING(1000),
            allowNull: true
        },
        club_id: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        club_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        club_url: {
            type: DataTypes.STRING(255),
            allowNull: true
        },
        created_at: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        chinese_coach_name: {
            type: DataTypes.STRING(50),
            allowNull: true,
            defaultValue: ''
        },
        chinese_national_name: {
            type: DataTypes.STRING(100),
            allowNull: true,
            defaultValue: ''
        },
        chinese_club_name: {
            type: DataTypes.STRING(50),
            allowNull: true,
            defaultValue: ''
        }
    }, {
        tableName: 'ms_soccer_coach_rank'
    });
};
//# sourceMappingURL=ms_soccer_coach_rank.js.map