Regenerate DAO files
[civicrm-core.git] / xml / schema / Event / Event.xml
CommitLineData
3f3a3ba0 1<?xml version="1.0" encoding="iso-8859-1" ?>
6a488035 2
3f3a3ba0
CW
3<table>
4 <base>CRM/Event</base>
5 <class>Event</class>
6 <name>civicrm_event</name>
7 <add>1.7</add>
6a488035 8 <log>true</log>
449c4e6b 9 <icon>fa-calendar</icon>
3f3a3ba0
CW
10 <field>
11 <name>id</name>
12 <type>int unsigned</type>
e51b7372 13 <title>Event ID</title>
3f3a3ba0
CW
14 <required>true</required>
15 <comment>Event</comment>
16 <add>1.7</add>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
23 <name>title</name>
6a488035 24 <uniqueName>event_title</uniqueName>
3f3a3ba0 25 <type>varchar</type>
6a488035
TO
26 <import>true</import>
27 <title>Event Title</title>
28 <headerPattern>/(event.)?title$/i</headerPattern>
3f3a3ba0 29 <length>255</length>
6a488035
TO
30 <localizable>true</localizable>
31 <comment>Event Title (e.g. Fall Fundraiser Dinner)</comment>
614d72ec 32 <html>
33 <type>Text</type>
34 </html>
3f3a3ba0
CW
35 <add>1.7</add>
36 </field>
37 <field>
6a488035 38 <name>summary</name>
3f3a3ba0
CW
39 <type>text</type>
40 <title>Event Summary</title>
7deea513 41 <html>
42 <type>TextArea</type>
817807ab 43 <rows>4</rows>
44 <cols>60</cols>
7deea513 45 </html>
6a488035
TO
46 <localizable>true</localizable>
47 <comment>Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.</comment>
3f3a3ba0
CW
48 <add>1.7</add>
49 </field>
50 <field>
51 <name>description</name>
52 <type>text</type>
6a488035 53 <uniqueName>event_description</uniqueName>
3f3a3ba0 54 <title>Event Description</title>
7deea513 55 <html>
c413e8dc 56 <type>RichTextEditor</type>
817807ab 57 <rows>8</rows>
58 <cols>60</cols>
7deea513 59 </html>
6a488035
TO
60 <localizable>true</localizable>
61 <comment>Full description of event. Text and html allowed. Displayed on built-in Event Information screens.</comment>
62 <add>1.7</add>
63 </field>
64 <field>
65 <name>event_type_id</name>
66 <type>int unsigned</type>
67 <uniqueName>event_type_id</uniqueName>
7c759b5e 68 <title>Event Type</title>
6a488035
TO
69 <default>0</default>
70 <pseudoconstant>
6a488035 71 <optionGroupName>event_type</optionGroupName>
6a488035 72 </pseudoconstant>
614d72ec 73 <html>
e0991796 74 <type>Select</type>
614d72ec 75 </html>
3f3a3ba0
CW
76 <comment>Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.</comment>
77 <add>1.7</add>
78 </field>
6a488035
TO
79 <index>
80 <name>index_event_type_id</name>
81 <fieldName>event_type_id</fieldName>
82 <add>1.8</add>
83 </index>
3f3a3ba0
CW
84 <field>
85 <name>participant_listing_id</name>
86 <type>int unsigned</type>
6a488035 87 <uniqueName>participant_listing_id</uniqueName>
7c759b5e 88 <title>Participant Listing</title>
5d4300ea 89 <default>NULL</default>
7c759b5e
CW
90 <pseudoconstant>
91 <optionGroupName>participant_listing</optionGroupName>
92 </pseudoconstant>
3f3a3ba0
CW
93 <comment>Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.</comment>
94 <add>2.0</add>
614d72ec 95 <html>
96 <type>Select</type>
97 </html>
3f3a3ba0 98 </field>
6a488035
TO
99 <index>
100 <name>index_participant_listing_id</name>
101 <fieldName>participant_listing_id</fieldName>
102 <add>2.0</add>
103 </index>
3f3a3ba0
CW
104 <field>
105 <name>is_public</name>
106 <type>boolean</type>
107 <title>Is Event Public</title>
108 <default>1</default>
109 <comment>Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.</comment>
110 <add>1.7</add>
614d72ec 111 <html>
112 <type>CheckBox</type>
113 </html>
3f3a3ba0 114 </field>
6a488035
TO
115 <field>
116 <name>start_date</name>
117 <type>datetime</type>
118 <uniqueName>event_start_date</uniqueName>
119 <title>Event Start Date</title>
120 <headerPattern>/^start|(s(tart\s)?date)$/i</headerPattern>
121 <import>true</import>
122 <comment>Date and time that event starts.</comment>
123 <add>1.7</add>
614d72ec 124 <html>
125 <type>Select Date</type>
c03ba827 126 <formatType>activityDateTime</formatType>
614d72ec 127 </html>
6a488035
TO
128 </field>
129 <field>
130 <name>end_date</name>
131 <type>datetime</type>
132 <uniqueName>event_end_date</uniqueName>
133 <title>Event End Date</title>
134 <headerPattern>/^end|(e(nd\s)?date)$/i</headerPattern>
135 <import>true</import>
136 <comment>Date and time that event ends. May be NULL if no defined end date/time</comment>
137 <add>1.7</add>
614d72ec 138 <html>
139 <type>Select Date</type>
c03ba827 140 <formatType>activityDateTime</formatType>
614d72ec 141 </html>
6a488035 142 </field>
3f3a3ba0
CW
143 <field>
144 <name>is_online_registration</name>
145 <type>boolean</type>
6a488035 146 <title>Is Online Registration</title>
3f3a3ba0
CW
147 <default>0</default>
148 <comment>If true, include registration link on Event Info page.</comment>
149 <add>1.7</add>
614d72ec 150 <html>
151 <type>CheckBox</type>
152 </html>
6a488035 153 </field>
3f3a3ba0
CW
154 <field>
155 <name>registration_link_text</name>
156 <type>varchar</type>
6a488035 157 <title>Event Registration Link Text</title>
3f3a3ba0 158 <length>255</length>
6a488035
TO
159 <localizable>true</localizable>
160 <comment>Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.</comment>
3f3a3ba0 161 <add>1.7</add>
614d72ec 162 <html>
163 <type>Text</type>
164 </html>
3f3a3ba0 165 </field>
6a488035
TO
166 <field>
167 <name>registration_start_date</name>
168 <type>datetime</type>
169 <comment>Date and time that online registration starts.</comment>
170 <add>1.8</add>
614d72ec 171 <html>
172 <type>Select Date</type>
c03ba827 173 <formatType>activityDateTime</formatType>
614d72ec 174 </html>
6a488035
TO
175 </field>
176 <field>
177 <name>registration_end_date</name>
178 <type>datetime</type>
179 <comment>Date and time that online registration ends.</comment>
180 <add>1.8</add>
614d72ec 181 <html>
182 <type>Select Date</type>
c03ba827 183 <formatType>activityDateTime</formatType>
614d72ec 184 </html>
6a488035 185 </field>
3f3a3ba0
CW
186 <field>
187 <name>max_participants</name>
188 <type>int unsigned</type>
6a488035
TO
189 <title>Max Participants</title>
190 <default>NULL</default>
3f3a3ba0
CW
191 <comment>Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.</comment>
192 <add>1.7</add>
614d72ec 193 <html>
194 <type>Text</type>
195 </html>
6a488035 196 </field>
3f3a3ba0
CW
197 <field>
198 <name>event_full_text</name>
199 <type>text</type>
6a488035 200 <title>Event Information</title>
7deea513 201 <html>
202 <type>TextArea</type>
817807ab 203 <rows>4</rows>
204 <cols>60</cols>
7deea513 205 </html>
6a488035 206 <localizable>true</localizable>
3f3a3ba0
CW
207 <comment>Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.</comment>
208 <add>1.7</add>
6a488035 209 </field>
3f3a3ba0
CW
210 <field>
211 <name>is_monetary</name>
6a488035 212 <title>Is this a PAID event?</title>
3f3a3ba0 213 <type>boolean</type>
6a488035 214 <default>0</default>
3f3a3ba0
CW
215 <comment>If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.</comment>
216 <add>1.7</add>
614d72ec 217 <html>
218 <type>CheckBox</type>
219 </html>
3f3a3ba0
CW
220 </field>
221 <field>
222 <name>contribution_type_id</name>
223 <type>int unsigned</type>
224 <default>0</default>
225 <comment>Contribution type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
6a488035
TO
226 <add>1.7</add>
227 <drop>4.3</drop>
228 </field>
3f3a3ba0
CW
229 <field>
230 <name>financial_type_id</name>
231 <type>int unsigned</type>
7c759b5e 232 <title>Financial Type</title>
6a488035 233 <default>NULL</default>
6d68a4cb
CW
234 <comment>Financial type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
235 <pseudoconstant>
236 <table>civicrm_financial_type</table>
237 <keyColumn>id</keyColumn>
238 <labelColumn>name</labelColumn>
239 </pseudoconstant>
614d72ec 240 <html>
e0991796 241 <type>Select</type>
614d72ec 242 </html>
3f3a3ba0 243 <add>4.3</add>
6a488035
TO
244 </field>
245 <field>
246 <name>payment_processor</name>
247 <type>varchar</type>
248 <length>128</length>
476627e4 249 <serialize>SEPARATOR_TRIMMED</serialize>
6a488035 250 <comment>Payment Processors configured for this Event (if is_monetary is true)</comment>
6d68a4cb
CW
251 <pseudoconstant>
252 <table>civicrm_payment_processor</table>
253 <keyColumn>id</keyColumn>
254 <labelColumn>name</labelColumn>
255 </pseudoconstant>
614d72ec 256 <html>
e0991796 257 <type>Select</type>
614d72ec 258 </html>
6a488035
TO
259 <add>1.8</add>
260 </field>
3f3a3ba0 261 <field>
6a488035
TO
262 <name>is_map</name>
263 <title>Map Enabled</title>
3f3a3ba0 264 <type>boolean</type>
6a488035 265 <default>0</default>
3f3a3ba0
CW
266 <comment>Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?</comment>
267 <add>1.7</add>
614d72ec 268 <html>
269 <type>CheckBox</type>
270 </html>
3f3a3ba0 271 </field>
6a488035
TO
272 <field>
273 <name>is_active</name>
274 <title>Is Active</title>
275 <type>boolean</type>
276 <default>0</default>
3f3a3ba0
CW
277 <comment>Is this Event enabled or disabled/cancelled?</comment>
278 <add>1.7</add>
614d72ec 279 <html>
280 <type>CheckBox</type>
281 </html>
6a488035
TO
282 </field>
283 <field>
284 <name>fee_label</name>
285 <type>varchar</type>
286 <import>true</import>
287 <title>Fee Label</title>
288 <headerPattern>/^fee|(f(ee\s)?label)$/i</headerPattern>
289 <length>255</length>
290 <localizable>true</localizable>
614d72ec 291 <html>
292 <type>Text</type>
293 </html>
6a488035 294 <add>1.8</add>
3f3a3ba0
CW
295 </field>
296 <field>
297 <name>is_show_location</name>
298 <type>boolean</type>
6a488035 299 <title>show location</title>
3f3a3ba0
CW
300 <default>1</default>
301 <comment>If true, show event location.</comment>
302 <add>1.7</add>
614d72ec 303 <html>
304 <type>CheckBox</type>
305 </html>
3f3a3ba0 306 </field>
6a488035
TO
307 <field>
308 <name>loc_block_id</name>
309 <type>int unsigned</type>
310 <title>Location Block ID</title>
311 <comment>FK to Location Block ID</comment>
312 <add>2.0</add>
313 </field>
314 <foreignKey>
315 <name>loc_block_id</name>
316 <table>civicrm_loc_block</table>
317 <key>id</key>
318 <onDelete>SET NULL</onDelete>
319 <add>2.0</add>
320 </foreignKey>
321 <field>
322 <name>receipt_text</name>
323 <type>varchar</type>
7deea513 324 <html>
325 <type>TextArea</type>
817807ab 326 <rows>6</rows>
327 <cols>50</cols>
7deea513 328 </html>
6a488035
TO
329 <length>255</length>
330 <comment>Receipt Text for off-line event participation</comment>
331 <add>2.0</add>
332 <drop>2.1</drop>
333 </field>
3f3a3ba0
CW
334 <field>
335 <name>default_role_id</name>
6a488035 336 <uniqueName>default_role_id</uniqueName>
35b13852 337 <title>Default Role</title>
6a488035 338 <import>true</import>
3f3a3ba0 339 <type>int unsigned</type>
6a488035 340 <default>1</default>
7c759b5e
CW
341 <pseudoconstant>
342 <optionGroupName>participant_role</optionGroupName>
343 </pseudoconstant>
3f3a3ba0
CW
344 <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
345 <add>2.0</add>
614d72ec 346 <html>
347 <type>Select</type>
348 </html>
6a488035 349 </field>
3f3a3ba0
CW
350 <field>
351 <name>intro_text</name>
352 <type>text</type>
7deea513 353 <html>
c413e8dc 354 <type>RichTextEditor</type>
817807ab 355 <rows>6</rows>
356 <cols>50</cols>
7deea513 357 </html>
6a488035
TO
358 <title>Introductory Message</title>
359 <localizable>true</localizable>
360 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
361 <add>1.7</add>
362 </field>
363 <field>
364 <name>footer_text</name>
6a488035 365 <title>Footer Message</title>
3f3a3ba0 366 <type>text</type>
7deea513 367 <html>
c413e8dc 368 <type>RichTextEditor</type>
817807ab 369 <rows>6</rows>
370 <cols>50</cols>
7deea513 371 </html>
6a488035
TO
372 <localizable>true</localizable>
373 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
374 <add>1.7</add>
375 </field>
376 <field>
377 <name>confirm_title</name>
378 <type>varchar</type>
6a488035 379 <title>Confirmation Title</title>
3f3a3ba0 380 <length>255</length>
6a488035
TO
381 <default>NULL</default>
382 <localizable>true</localizable>
383 <comment>Title for Confirmation page.</comment>
614d72ec 384 <html>
385 <type>Text</type>
386 </html>
3f3a3ba0
CW
387 <add>1.7</add>
388 </field>
389 <field>
390 <name>confirm_text</name>
391 <type>text</type>
7deea513 392 <html>
c413e8dc 393 <type>RichTextEditor</type>
817807ab 394 <rows>6</rows>
395 <cols>50</cols>
7deea513 396 </html>
6a488035
TO
397 <title>Confirm Text</title>
398 <localizable>true</localizable>
399 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
400 <add>1.7</add>
401 </field>
402 <field>
403 <name>confirm_footer_text</name>
404 <type>text</type>
6a488035 405 <title>Footer Text</title>
7deea513 406 <html>
c413e8dc 407 <type>RichTextEditor</type>
817807ab 408 <rows>6</rows>
409 <cols>50</cols>
7deea513 410 </html>
6a488035
TO
411 <localizable>true</localizable>
412 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
413 <add>1.7</add>
414 </field>
415 <field>
416 <name>is_email_confirm</name>
417 <type>boolean</type>
6a488035 418 <title>Is confirm email</title>
3f3a3ba0
CW
419 <default>0</default>
420 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
421 <add>1.7</add>
614d72ec 422 <html>
423 <type>CheckBox</type>
424 </html>
3f3a3ba0
CW
425 </field>
426 <field>
427 <name>confirm_email_text</name>
428 <type>text</type>
6a488035 429 <title>Confirmation Email Text</title>
7deea513 430 <html>
431 <type>TextArea</type>
817807ab 432 <rows>4</rows>
433 <cols>50</cols>
7deea513 434 </html>
6a488035
TO
435 <localizable>true</localizable>
436 <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment>
3f3a3ba0
CW
437 <add>1.7</add>
438 </field>
439 <field>
440 <name>confirm_from_name</name>
441 <type>varchar</type>
6a488035 442 <title>Confirm From Name</title>
3f3a3ba0 443 <length>255</length>
6a488035
TO
444 <localizable>true</localizable>
445 <comment>FROM email name used for confirmation emails.</comment>
3f3a3ba0 446 <add>1.7</add>
614d72ec 447 <html>
448 <type>Text</type>
449 </html>
6a488035 450 </field>
3f3a3ba0
CW
451 <field>
452 <name>confirm_from_email</name>
453 <type>varchar</type>
6a488035 454 <title>Confirm From Email</title>
3f3a3ba0 455 <length>255</length>
6a488035 456 <comment>FROM email address used for confirmation emails.</comment>
3f3a3ba0 457 <add>1.7</add>
614d72ec 458 <html>
459 <type>Text</type>
460 </html>
3f3a3ba0
CW
461 </field>
462 <field>
463 <name>cc_confirm</name>
464 <type>varchar</type>
465 <length>255</length>
6a488035 466 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
614d72ec 467 <html>
468 <type>Text</type>
469 </html>
3f3a3ba0 470 <add>1.7</add>
6a488035 471 </field>
3f3a3ba0
CW
472 <field>
473 <name>bcc_confirm</name>
474 <type>varchar</type>
475 <length>255</length>
6a488035 476 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
614d72ec 477 <html>
478 <type>Text</type>
479 </html>
3f3a3ba0 480 <add>1.7</add>
6a488035
TO
481 </field>
482 <field>
483 <name>default_fee_id</name>
484 <type>int unsigned</type>
485 <title>Default Fee ID</title>
486 <comment>FK to civicrm_option_value.</comment>
487 <add>1.7</add>
488 </field>
489 <field>
490 <name>default_discount_fee_id</name>
491 <type>int unsigned</type>
492 <title>Default Discount Fee ID</title>
493 <comment>FK to civicrm_option_value.</comment>
494 <add>1.7</add>
495 </field>
3f3a3ba0
CW
496 <field>
497 <name>thankyou_title</name>
498 <type>varchar</type>
6a488035 499 <title>ThankYou Title</title>
3f3a3ba0 500 <length>255</length>
6a488035
TO
501 <default>NULL</default>
502 <localizable>true</localizable>
503 <comment>Title for ThankYou page.</comment>
3f3a3ba0 504 <add>1.7</add>
614d72ec 505 <html>
506 <type>Text</type>
507 </html>
3f3a3ba0
CW
508 </field>
509 <field>
510 <name>thankyou_text</name>
511 <type>text</type>
7deea513 512 <html>
c413e8dc 513 <type>RichTextEditor</type>
817807ab 514 <rows>6</rows>
515 <cols>50</cols>
7deea513 516 </html>
6a488035
TO
517 <title>ThankYou Text</title>
518 <localizable>true</localizable>
519 <comment>ThankYou Text.</comment>
3f3a3ba0
CW
520 <add>1.7</add>
521 </field>
522 <field>
523 <name>thankyou_footer_text</name>
524 <type>text</type>
6a488035 525 <title>Footer Text</title>
7deea513 526 <html>
c413e8dc 527 <type>RichTextEditor</type>
817807ab 528 <rows>6</rows>
529 <cols>50</cols>
7deea513 530 </html>
6a488035
TO
531 <localizable>true</localizable>
532 <comment>Footer message.</comment>
3f3a3ba0
CW
533 <add>1.7</add>
534 </field>
535 <field>
6a488035
TO
536 <name>is_pay_later</name>
537 <title>Pay Later Allowed</title>
538 <type>boolean</type>
539 <default>0</default>
3f3a3ba0
CW
540 <comment>if true - allows the user to send payment directly to the org later</comment>
541 <add>2.0</add>
614d72ec 542 <html>
543 <type>CheckBox</type>
544 </html>
6a488035 545 </field>
3f3a3ba0 546 <field>
6a488035
TO
547 <name>pay_later_text</name>
548 <title>Pay Later Text</title>
549 <type>text</type>
550 <localizable>true</localizable>
3f3a3ba0 551 <comment>The text displayed to the user in the main form</comment>
6a488035 552 <add>2.0</add>
614d72ec 553 <html>
c413e8dc 554 <type>RichTextEditor</type>
614d72ec 555 </html>
6a488035
TO
556 </field>
557 <field>
558 <name>pay_later_receipt</name>
559 <title>Pay Later Receipt Text</title>
560 <type>text</type>
561 <localizable>true</localizable>
3f3a3ba0 562 <comment>The receipt sent to the user instead of the normal receipt text</comment>
6a488035 563 <add>2.0</add>
614d72ec 564 <html>
565 <type>Text</type>
566 </html>
6a488035 567 </field>
3f3a3ba0 568 <field>
6a488035
TO
569 <name>is_partial_payment</name>
570 <title>Partial Payments Enabled</title>
3f3a3ba0
CW
571 <type>boolean</type>
572 <default>0</default>
573 <comment>is partial payment enabled for this event</comment>
574 <add>4.3</add>
614d72ec 575 <html>
576 <type>CheckBox</type>
577 </html>
6a488035 578 </field>
3f3a3ba0 579 <field>
6a488035
TO
580 <name>initial_amount_label</name>
581 <title>Initial Amount Label</title>
582 <type>varchar</type>
3f3a3ba0 583 <length>255</length>
6a488035 584 <localizable>true</localizable>
3f3a3ba0
CW
585 <comment>Initial amount label for partial payment</comment>
586 <add>4.3</add>
614d72ec 587 <html>
588 <type>Text</type>
589 </html>
6a488035 590 </field>
3f3a3ba0 591 <field>
6a488035
TO
592 <name>initial_amount_help_text</name>
593 <title>Initial Amount Help Text</title>
594 <type>text</type>
595 <localizable>true</localizable>
3f3a3ba0
CW
596 <comment>Initial amount help text for partial payment</comment>
597 <add>4.3</add>
614d72ec 598 <html>
599 <type>Text</type>
600 </html>
6a488035 601 </field>
3f3a3ba0 602 <field>
6a488035
TO
603 <name>min_initial_amount</name>
604 <title>Minimum Initial Amount</title>
605 <type>decimal</type>
3f3a3ba0
CW
606 <comment>Minimum initial amount for partial payment</comment>
607 <add>4.3</add>
614d72ec 608 <html>
609 <type>Text</type>
610 </html>
6a488035 611 </field>
3f3a3ba0 612 <field>
6a488035
TO
613 <name>is_multiple_registrations</name>
614 <title>Allow Multiple Registrations</title>
615 <type>boolean</type>
616 <default>0</default>
3f3a3ba0
CW
617 <comment>if true - allows the user to register multiple participants for event</comment>
618 <add>2.1</add>
614d72ec 619 <html>
620 <type>CheckBox</type>
621 </html>
6a488035 622 </field>
f1bc01e0
J
623 <field>
624 <name>max_additional_participants</name>
625 <type>int unsigned</type>
626 <title>Maximum number of additional participants per registration</title>
627 <default>0</default>
628 <comment>Maximum number of additional participants that can be registered on a single booking</comment>
675cca92 629 <add>4.7</add>
f1bc01e0 630 </field>
3f3a3ba0
CW
631 <field>
632 <name>allow_same_participant_emails</name>
633 <type>boolean</type>
6a488035 634 <title>Does Event allow multiple registrations from same email address?</title>
3f3a3ba0
CW
635 <default>0</default>
636 <comment>if true - allows the user to register multiple registrations from same email address.</comment>
637 <add>2.2</add>
614d72ec 638 <html>
639 <type>CheckBox</type>
640 </html>
3f3a3ba0 641 </field>
6a488035
TO
642 <field>
643 <name>has_waitlist</name>
644 <title>Waitlist Enabled</title>
645 <type>boolean</type>
646 <comment>Whether the event has waitlist support.</comment>
647 <add>3.0</add>
614d72ec 648 <html>
649 <type>CheckBox</type>
650 </html>
6a488035
TO
651 </field>
652 <field>
653 <name>requires_approval</name>
654 <type>boolean</type>
655 <comment>Whether participants require approval before they can finish registering.</comment>
656 <add>3.0</add>
614d72ec 657 <html>
658 <type>CheckBox</type>
659 </html>
6a488035
TO
660 </field>
661 <field>
662 <name>expiration_time</name>
663 <type>int unsigned</type>
664 <comment>Expire pending but unconfirmed registrations after this many hours.</comment>
665 <add>3.0</add>
614d72ec 666 <html>
667 <type>Text</type>
668 </html>
6a488035 669 </field>
7dbb67ae
DG
670 <field>
671 <name>allow_selfcancelxfer</name>
672 <type>boolean</type>
673 <default>0</default>
674 <title>Allow Self-service Cancellation or Transfer</title>
675 <comment>Allow self service cancellation or transfer for event?</comment>
676 <add>4.7</add>
677 <html>
678 <type>CheckBox</type>
679 </html>
680 </field>
681 <field>
682 <name>selfcancelxfer_time</name>
683 <type>int unsigned</type>
684 <default>0</default>
685 <title>Self-service Cancellation or Transfer Time</title>
686 <comment>Number of hours prior to event start date to allow self-service cancellation or transfer.</comment>
687 <add>4.7</add>
688 <html>
689 <type>Text</type>
690 </html>
691 </field>
6a488035
TO
692 <field>
693 <name>waitlist_text</name>
694 <type>text</type>
7deea513 695 <html>
696 <type>TextArea</type>
817807ab 697 <rows>4</rows>
698 <cols>60</cols>
7deea513 699 </html>
6a488035
TO
700 <localizable>true</localizable>
701 <comment>Text to display when the event is full, but participants can signup for a waitlist.</comment>
702 <add>3.0</add>
703 </field>
704 <field>
705 <name>approval_req_text</name>
706 <type>text</type>
7deea513 707 <html>
708 <type>TextArea</type>
817807ab 709 <rows>4</rows>
710 <cols>60</cols>
7deea513 711 </html>
6a488035
TO
712 <localizable>true</localizable>
713 <comment>Text to display when the approval is required to complete registration for an event.</comment>
714 <add>3.0</add>
715 </field>
716 <field>
717 <name>is_template</name>
718 <title>Is an Event Template</title>
719 <type>boolean</type>
720 <default>0</default>
99f13d8d 721 <required>true</required>
6a488035
TO
722 <comment>whether the event has template</comment>
723 <add>3.0</add>
614d72ec 724 <html>
725 <type>CheckBox</type>
726 </html>
6a488035 727 </field>
3f3a3ba0
CW
728 <field>
729 <name>template_title</name>
6a488035 730 <uniqueName>template_title</uniqueName>
3f3a3ba0 731 <type>varchar</type>
6a488035
TO
732 <import>true</import>
733 <title>Event Template Title</title>
734 <headerPattern>/(template.)?title$/i</headerPattern>
3f3a3ba0 735 <length>255</length>
6a488035
TO
736 <localizable>true</localizable>
737 <comment>Event Template Title</comment>
614d72ec 738 <html>
739 <type>Text</type>
740 </html>
3f3a3ba0 741 <add>3.0</add>
6a488035
TO
742 </field>
743 <field>
744 <name>created_id</name>
745 <type>int unsigned</type>
746 <title>Created By Contact ID</title>
747 <comment>FK to civicrm_contact, who created this event</comment>
748 <add>3.0</add>
749 </field>
750 <foreignKey>
751 <name>created_id</name>
752 <table>civicrm_contact</table>
753 <key>id</key>
754 <add>3.0</add>
755 <onDelete>SET NULL</onDelete>
756 </foreignKey>
757 <field>
758 <name>created_date</name>
759 <type>datetime</type>
760 <title>Event Created Date</title>
761 <comment>Date and time that event was created.</comment>
762 <add>3.0</add>
763 </field>
3f3a3ba0
CW
764 <field>
765 <name>currency</name>
766 <type>varchar</type>
6a488035
TO
767 <length>3</length>
768 <import>true</import>
769 <headerPattern>/cur(rency)?/i</headerPattern>
770 <dataPattern>/^[A-Z]{3}$/i</dataPattern>
771 <comment>3 character string, value from config setting or input via user.</comment>
772 <add>3.3</add>
bd44e0df
AS
773 <pseudoconstant>
774 <table>civicrm_currency</table>
775 <keyColumn>name</keyColumn>
a38a89fc 776 <labelColumn>full_name</labelColumn>
c3de5c5a 777 <nameColumn>name</nameColumn>
a8fdb24e 778 <abbrColumn>symbol</abbrColumn>
bd44e0df 779 </pseudoconstant>
614d72ec 780 <html>
e0991796 781 <type>Select</type>
614d72ec 782 </html>
6a488035
TO
783 </field>
784 <field>
785 <name>campaign_id</name>
786 <type>int unsigned</type>
e1ab2e91 787 <title>Campaign</title>
6a488035 788 <comment>The campaign for which this event has been created.</comment>
3e3eacd0
CW
789 <pseudoconstant>
790 <table>civicrm_campaign</table>
791 <keyColumn>id</keyColumn>
792 <labelColumn>title</labelColumn>
3e3eacd0 793 </pseudoconstant>
3f3a3ba0 794 <add>3.4</add>
614d72ec 795 <html>
916b6181 796 <type>EntityRef</type>
614d72ec 797 </html>
6a488035
TO
798 </field>
799 <foreignKey>
800 <name>campaign_id</name>
801 <table>civicrm_campaign</table>
802 <key>id</key>
803 <onDelete>SET NULL</onDelete>
804 </foreignKey>
805 <field>
806 <name>is_share</name>
807 <title>Is shared through social media</title>
808 <type>boolean</type>
809 <default>1</default>
810 <comment>Can people share the event through social media?</comment>
3f3a3ba0 811 <add>4.1</add>
614d72ec 812 <html>
813 <type>CheckBox</type>
814 </html>
6a488035 815 </field>
1909126f 816 <field>
817 <name>is_confirm_enabled</name>
818 <title>Is the booking confirmation screen enabled?</title>
819 <type>boolean</type>
820 <default>1</default>
821 <comment>If false, the event booking confirmation screen gets skipped</comment>
822 <add>4.5</add>
823 <html>
824 <type>CheckBox</type>
825 </html>
826 </field>
6a488035
TO
827 <field>
828 <name>parent_event_id</name>
829 <type>int unsigned</type>
830 <title>Parent Event ID</title>
831 <default>NULL</default>
832 <comment>Implicit FK to civicrm_event: parent event</comment>
614d72ec 833 <html>
916b6181 834 <type>EntityRef</type>
614d72ec 835 </html>
6a488035
TO
836 <add>4.1</add>
837 </field>
838 <index>
839 <name>index_parent_event_id</name>
840 <fieldName>parent_event_id</fieldName>
841 <add>4.1</add>
842 </index>
843 <field>
844 <name>slot_label_id</name>
3f3a3ba0
CW
845 <type>int unsigned</type>
846 <title>Subevent Slot Label ID</title>
6a488035 847 <default>NULL</default>
3f3a3ba0 848 <comment>Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.</comment>
6a488035 849 <add>4.1</add>
614d72ec 850 <html>
851 <type>Select</type>
852 </html>
6a488035 853 </field>
03390e26 854 <field>
855 <name>dedupe_rule_group_id</name>
856 <type>int unsigned</type>
857 <title>Dedupe Rule</title>
858 <default>NULL</default>
859 <comment>Rule to use when matching registrations for this event</comment>
860 <pseudoconstant>
861 <table>civicrm_dedupe_rule_group</table>
862 <keyColumn>id</keyColumn>
863 <nameColumn>name</nameColumn>
864 <labelColumn>title</labelColumn>
865 </pseudoconstant>
866 <add>4.5</add>
867 <html>
868 <type>Select</type>
869 </html>
870 </field>
871 <foreignKey>
872 <name>dedupe_rule_group_id</name>
873 <table>civicrm_dedupe_rule_group</table>
874 <key>id</key>
875 <add>4.5</add>
876 </foreignKey>
e45f6ab0
PB
877 <field>
878 <name>is_billing_required</name>
115fa278 879 <title>Is billing block required</title>
e45f6ab0
PB
880 <type>boolean</type>
881 <default>0</default>
115fa278 882 <comment>if true than billing block is required this event</comment>
883 <add>4.6</add>
e45f6ab0
PB
884 <html>
885 <type>CheckBox</type>
886 </html>
887 </field>
6a488035 888</table>