1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>EntityBatch
</class>
6 <name>civicrm_entity_batch
</name>
7 <comment>Batch entities (Contributions, Participants, Contacts) to a batch.
</comment>
10 <title>EntityBatch ID
</title>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>primary key
</comment>
18 <autoincrement>true
</autoincrement>
21 <name>entity_table
</name>
22 <title>EntityBatch Table
</title>
25 <comment>physical tablename for entity being joined to file, e.g. civicrm_contact
</comment>
29 <name>entity_id
</name>
30 <title>Entity ID
</title>
31 <type>int unsigned
</type>
32 <required>true
</required>
33 <comment>FK to entity table specified in entity_table column.
</comment>
37 <idColumn>entity_id
</idColumn>
38 <typeColumn>entity_table
</typeColumn>
42 <name>index_entity
</name>
43 <fieldName>entity_table
</fieldName>
44 <fieldName>entity_id
</fieldName>
49 <title>Batch ID
</title>
50 <type>int unsigned
</type>
51 <required>true
</required>
52 <comment>FK to civicrm_batch
</comment>
57 <table>civicrm_batch
</table>
60 <onDelete>CASCADE
</onDelete>
63 <name>UI_batch_entity
</name>
64 <fieldName>batch_id
</fieldName>
65 <fieldName>entity_id
</fieldName>
66 <fieldName>entity_table
</fieldName>