'use strict';

module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize;
  const IconType = app.huodongModel.define('cfg_icon_cat', {
    icon_cat_id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    slag: STRING,
    name: STRING,
    notice: STRING,
    status: INTEGER,
    is_single: INTEGER,
  }, {
    timestamps: false,
    tableName: 'cfg_icon_cat',
  });

  return IconType;
};
