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