module.exports = (db, DataTypes) => {
  return db.define("productitem", {
    parent_id: DataTypes.BIGINT, // 父产品 id
    product_id: DataTypes.BIGINT, // 单产品 id
  }, {
    paranoid: false,
    underscored: true,
    timestamps: true,
    tableName: 'e_product_item',
    version: true,
    freezeTableName: true
  }
  )
}