competition_point_rank.ts 994 字节
/* jshint indent: 2 */

module.exports = function (sequelize:any, DataTypes:any) {
    return sequelize.define('competition_point_rank', {
        season_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true
        },
        competition_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true
        },
        stage_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true
        },
        promotions: {
            type: DataTypes.JSON,
            allowNull: true
        },
        team_point: {
            type: DataTypes.JSON,
            allowNull: true
        },
        created_at: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        updated_at: {
            type: DataTypes.STRING(20),
            allowNull: true
        }
    }, {
        tableName: 'competition_point_rank'
    });
};