1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>Household
</class>
6 <name>civicrm_household
</name>
7 <comment>Define household specific properties
</comment>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Unique Household ID
</comment>
22 <autoincrement>true
</autoincrement>
25 <name>contact_id
</name>
26 <title>Contact ID
</title>
27 <type>int unsigned
</type>
28 <required>true
</required>
29 <comment>FK to Contact ID
</comment>
31 <label>Contact
</label>
36 <name>contact_id
</name>
37 <table>civicrm_contact
</table>
42 <name>household_name
</name>
46 <headerPattern>/^household|(h(ousehold\s)?name)$/i
</headerPattern>
47 <dataPattern>/^\w+$/
</dataPattern>
48 <comment>Household Name.
</comment>
53 <name>index_household_name
</name>
54 <fieldName>household_name
</fieldName>
58 <name>primary_contact_id
</name>
59 <title>Primary Contact ID
</title>
60 <type>int unsigned
</type>
61 <comment>Optional FK to Primary Contact for this household.
</comment>
63 <label>Primary Contact
</label>
68 <name>primary_contact_id
</name>
69 <table>civicrm_contact
</table>
74 <name>UI_contact
</name>
75 <fieldName>contact_id
</fieldName>