tools_sxjx.ts 1.7 KB
module.exports = function(sequelize:any, DataTypes:any) {
    return sequelize.define('tools_sxjx', {
      id: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        primaryKey: true,
      },
      // asia:{
      //   type: DataTypes.JSON,
      //   allowNull: false
      // },
      // europe:{
      //   type: DataTypes.JSON,
      //   allowNull: false
      // },
      // user:{
      //   type: DataTypes.JSON,
      //   allowNull: false
      // },
      // lstp:{
      //   type: DataTypes.JSON,
      //   allowNull: false
      // },
      // avg:{
      //   type: DataTypes.JSON,
      //   allowNull: false
      // },

      xxzs:{
        type: DataTypes.JSON,
        allowNull: true
      },

      best_player:{
        type: DataTypes.JSON,
        allowNull: true
      },

      meeting:{
        type: DataTypes.JSON,
        allowNull: true
      },

      history:{
        type: DataTypes.JSON,
        allowNull: true
      },

      pre:{
        type: DataTypes.JSON,
        allowNull: true
      },

      pre_win:{
        type: DataTypes.JSON,
        allowNull: true
      },

      is_win:{
        type: DataTypes.INTEGER(4),
        allowNull: true
      },

      trait:{
        type: DataTypes.JSON,
        allowNull: true
      },

      created_at: {
        type: DataTypes.DATE,
        allowNull: true
      },

      half:{
        type: DataTypes.JSON,
        allowNull: true
      },

      pre_all:{
        type: DataTypes.JSON,
        allowNull: true
      },

      open_result:{
        type: DataTypes.JSON,
        allowNull: true
      },

      win_all:{
        type: DataTypes.JSON,
        allowNull: true
      }
      
    }, {
      tableName: 'tools_sxjx'
    });
  };