'use strict';

module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize;
  const Icon = app.huodongModel.define('cfg_icon_content', {
    icon_content_id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    icon_cat_id: INTEGER,
    href: STRING,
    image: STRING,
    slag: STRING,
    title: STRING,
    description: STRING,
    status: INTEGER,
    sort_order: INTEGER,
    version: INTEGER,
    ios: INTEGER,
    android: INTEGER,
  }, {
    timestamps: false,
    tableName: 'cfg_icon_content',
  });

  return Icon;
};
