<?php
$xpdo_meta_map['items']= array (
  'package' => 'trosk',
  'table' => 'trosk_items',
  'fields' => 
  array (
    'original_id' => 0,
    'project_id' => 0,
    'saved_item' => '',
    'mjjed' => '',
    'amount' => '',
  ),
  'fieldMeta' => 
  array (
    'original_id' => 
    array (
      'dbtype' => 'int',
      'precision' => '10',
      'attributes' => 'unsigned',
      'phptype' => 'integer',
      'null' => false,
      'default' => 0,
      'index' => 'index',
    ),
    'project_id' => 
    array (
      'dbtype' => 'int',
      'precision' => '10',
      'attributes' => 'unsigned',
      'phptype' => 'integer',
      'null' => false,
      'default' => 0,
      'index' => 'index',
    ),
    'saved_item' => 
    array (
      'dbtype' => 'text',
      'phptype' => 'string',
      'null' => false,
      'default' => '',
    ),
    'mjjed' => 
    array (
      'dbtype' => 'varchar',
      'precision' => '255',
      'phptype' => 'string',
      'null' => false,
      'default' => '',
    ),
    'amount' => 
    array (
      'dbtype' => 'varchar',
      'precision' => '100',
      'phptype' => 'string',
      'null' => false,
      'default' => '',
    ),
  ),
  'aggregates' => 
  array (
    'original' => 
    array (
      'class' => 'modResource',
      'local' => 'original_id',
      'foreign' => 'id',
      'cardinality' => 'one',
      'owner' => 'foreign',
    ),
    'project' => 
    array (
      'class' => 'projects',
      'local' => 'project_id',
      'foreign' => 'id',
      'cardinality' => 'one',
      'owner' => 'foreign',
    ),
  ),
  'composites' => 
  array (
    'paramssaved' => 
    array (
      'class' => 'paramssaved',
      'local' => 'id',
      'foreign' => 'item_id',
      'cardinality' => 'many',
      'owner' => 'local',
    ),
  ),
);
