1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>Participant
</class>
6 <name>civicrm_participant
</name>
11 <uniqueName>participant_id
</uniqueName>
12 <title>Participant ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Participant Id
</comment>
17 <headerPattern>/(^(participant(.)?)?id$)/i
</headerPattern>
22 <autoincrement>true
</autoincrement>
25 <name>contact_id
</name>
26 <uniqueName>participant_contact_id
</uniqueName>
27 <type>int unsigned
</type>
28 <title>Contact ID
</title>
29 <headerPattern>/contact(.?id)?/i
</headerPattern>
31 <required>true
</required>
32 <comment>FK to Contact ID
</comment>
36 <name>contact_id
</name>
37 <table>civicrm_contact
</table>
39 <onDelete>CASCADE
</onDelete>
43 <type>int unsigned
</type>
46 <headerPattern>/event id$/i
</headerPattern>
47 <required>true
</required>
48 <comment>FK to Event ID
</comment>
53 <table>civicrm_event
</table>
55 <onDelete>CASCADE
</onDelete>
58 <name>status_id
</name>
59 <uniqueName>participant_status_id
</uniqueName>
60 <title>Participant Status Id
</title>
61 <headerPattern>/(participant.)?(status)$/i
</headerPattern>
63 <type>int unsigned
</type>
64 <export>false
</export>
65 <required>true
</required>
67 <comment>Participant status ID. FK to civicrm_participant_status_type. Default of
1 should map to status = Registered.
</comment>
70 <table>civicrm_participant_status_type
</table>
71 <keyColumn>id
</keyColumn>
72 <labelColumn>label
</labelColumn>
76 <name>status_id
</name>
77 <table>civicrm_participant_status_type
</table>
82 <name>index_status_id
</name>
83 <fieldName>status_id
</fieldName>
88 <uniqueName>participant_role_id
</uniqueName>
89 <title>Participant Role Id
</title>
91 <optionGroupName>participant_role
</optionGroupName>
93 <headerPattern>/(participant.)?(role)$/i
</headerPattern>
97 <export>false
</export>
98 <default>NULL
</default>
99 <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.
</comment>
103 <name>index_role_id
</name>
104 <fieldName>role_id
</fieldName>
108 <name>register_date
</name>
109 <uniqueName>participant_register_date
</uniqueName>
110 <title>Register date
</title>
111 <headerPattern>/^(r(egister\s)?date)$/i
</headerPattern>
112 <import>true
</import>
113 <type>datetime
</type>
114 <comment>When did contact register for event?
</comment>
119 <uniqueName>participant_source
</uniqueName>
120 <title>Participant Source
</title>
121 <headerPattern>/(participant.)?(source)$/i
</headerPattern>
122 <import>true
</import>
125 <comment>Source of this event registration.
</comment>
129 <name>fee_level
</name>
130 <uniqueName>participant_fee_level
</uniqueName>
131 <title>Fee level
</title>
132 <headerPattern>/^(f(ee\s)?level)$/i
</headerPattern>
134 <import>true
</import>
135 <comment>Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that we store the label value and not the key
</comment>
140 <uniqueName>participant_is_test
</uniqueName>
144 <import>true
</import>
148 <name>is_pay_later
</name>
149 <uniqueName>participant_is_pay_later
</uniqueName>
150 <title>Is Pay Later
</title>
153 <import>true
</import>
154 <headerPattern>/(is.)?(pay(.)?later)$/i
</headerPattern>
159 <name>fee_amount
</name>
160 <uniqueName>participant_fee_amount
</uniqueName>
161 <title>Fee Amount
</title>
163 <import>true
</import>
164 <headerPattern>/fee(.?am(ou)?nt)?/i
</headerPattern>
165 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
166 <comment>actual processor fee if known - may be
0.
</comment>
170 <name>registered_by_id
</name>
171 <uniqueName>participant_registered_by_id
</uniqueName>
172 <type>int unsigned
</type>
173 <title>Registered By ID
</title>
174 <import>true
</import>
175 <default>NULL
</default>
176 <comment>FK to Participant ID
</comment>
178 <export>true
</export>
181 <name>registered_by_id
</name>
182 <table>civicrm_participant
</table>
185 <onDelete>SET NULL
</onDelete>
188 <name>discount_id
</name>
189 <uniqueName>participant_discount_id
</uniqueName>
190 <type>int unsigned
</type>
191 <title>Discount ID
</title>
192 <default>NULL
</default>
193 <comment>FK to Discount ID
</comment>
197 <name>discount_id
</name>
198 <table>civicrm_discount
</table>
201 <onDelete>SET NULL
</onDelete>
204 <name>fee_currency
</name>
205 <uniqueName>participant_fee_currency
</uniqueName>
206 <title>Fee Currency
</title>
209 <default>NULL
</default>
210 <import>true
</import>
211 <headerPattern>/(fee)?.?cur(rency)?/i
</headerPattern>
212 <dataPattern>/^[A-Z]{
3}$/i
</dataPattern>
213 <comment>3 character string, value derived from config setting.
</comment>
216 <table>civicrm_currency
</table>
217 <keyColumn>name
</keyColumn>
218 <labelColumn>full_name
</labelColumn>
219 <nameColumn>numeric_code
</nameColumn>
223 <name>campaign_id
</name>
224 <uniqueName>participant_campaign_id
</uniqueName>
225 <type>int unsigned
</type>
226 <title>Campaign ID
</title>
227 <import>true
</import>
228 <comment>The campaign for which this participant has been registered.
</comment>
232 <name>campaign_id
</name>
233 <table>civicrm_campaign
</table>
235 <onDelete>SET NULL
</onDelete>
238 <name>discount_amount
</name>
239 <type>int unsigned
</type>
240 <title>Discount Amount
</title>
241 <comment>Discount Amount
</comment>
246 <type>int unsigned
</type>
247 <title>Event Cart ID
</title>
248 <comment>FK to civicrm_event_carts
</comment>
253 <table>civicrm_event_carts
</table>
255 <onDelete>SET NULL
</onDelete>
258 <name>must_wait
</name>
260 <title>Must Wait on List
</title>
261 <comment>On Waiting List
</comment>