tools_jht.ts 904 字节
module.exports = function(sequelize:any, DataTypes:any) {
    return sequelize.define('tools_jht', {
      id: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
      },
      created_at: {
        type: DataTypes.DATE,
        allowNull: true,
      },
      lottery_id: {
        type: DataTypes.INTEGER(11),
        allowNull: false
      },
      issue_name: {
        type: DataTypes.STRING(50),
        allowNull: false
      },
      play_name: {
        type: DataTypes.STRING(50),
        allowNull: false
      },
      user_id: {
        type: DataTypes.INTEGER(11),
        allowNull: false
      },
      user_name: {
        type: DataTypes.STRING(50),
        allowNull: false
      },
      bet_number: {
        type: DataTypes.JSON,
        allowNull: false
      },
    }, {
      tableName: 'tools_jht'
    });
  };