text: import { Entity } from 'dynamodb-toolbox';
  import table from '../index';
  
  const Content = new Entity({
    name: 'Content',
    attributes: {
      modelId: { partitionKey: true, prefix: 'MOD#' },
      id: { sortKey: true, prefix: 'CON#' },
      gsi1pk: { default: (data) => `MOD#${data.modelId}#CON` },
      gsi1sk: { default: (data) => data.modified() },
      data: { type: 'map', required: false },
    },
    table,
  });
  
  export default Content;
  