ms_trend_stat.ts 756 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('ms_trend_stat', {
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    },
    created_at: {
      type: DataTypes.DATE,
      allowNull: true
    },
    updated_at: {
      type: DataTypes.DATE,
      allowNull: true
    },
    lottery_id: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    issue_name: {
      type: DataTypes.STRING(50),
      allowNull: true
    },
    type: {
      type: DataTypes.STRING(50),
      allowNull: true
    },
    body: {
      type: DataTypes.JSON,
      allowNull: true
    }
  }, {
    tableName: 'ms_trend_stat'
  });
};