Merge pull request #19017 from eileenmcnaughton/remove_recur
[civicrm-core.git] / xml / schema / Event / ParticipantStatusType.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <table>
3 <base>CRM/Event</base>
4 <class>ParticipantStatusType</class>
5 <name>civicrm_participant_status_type</name>
6 <comment>various types of CiviEvent participant statuses</comment>
7 <add>3.0</add>
8 <log>true</log>
9 <component>CiviEvent</component>
10 <field>
11 <name>id</name>
12 <title>Participant Status Type ID</title>
13 <type>int unsigned</type>
14 <required>true</required>
15 <comment>unique participant status type id</comment>
16 <add>3.0</add>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
23 <name>name</name>
24 <uniqueName>participant_status</uniqueName>
25 <title>Participant Status</title>
26 <type>varchar</type>
27 <length>64</length>
28 <import>true</import>
29 <unique>true</unique>
30 <comment>non-localized name of the status type</comment>
31 <add>3.0</add>
32 </field>
33 <field>
34 <name>label</name>
35 <title>Participant Status Label</title>
36 <type>varchar</type>
37 <length>255</length>
38 <unique>true</unique>
39 <localizable>true</localizable>
40 <comment>localized label for display of this status type</comment>
41 <add>3.0</add>
42 </field>
43 <field>
44 <name>class</name>
45 <title>Participant Status Class</title>
46 <type>varchar</type>
47 <length>8</length>
48 <comment>the general group of status type this one belongs to</comment>
49 <pseudoconstant>
50 <callback>CRM_Event_PseudoConstant::participantStatusClassOptions</callback>
51 </pseudoconstant>
52 <add>3.0</add>
53 <html>
54 <type>Select</type>
55 </html>
56 </field>
57 <field>
58 <name>is_reserved</name>
59 <title>Participant Status Is Reserved?></title>
60 <type>boolean</type>
61 <comment>whether this is a status type required by the system</comment>
62 <add>3.0</add>
63 </field>
64 <field>
65 <name>is_active</name>
66 <title>Participant Status is Active</title>
67 <type>boolean</type>
68 <default>1</default>
69 <comment>whether this status type is active</comment>
70 <add>3.0</add>
71 </field>
72 <field>
73 <name>is_counted</name>
74 <title>Participant Status Counts?</title>
75 <type>boolean</type>
76 <comment>whether this status type is counted against event size limit</comment>
77 <add>3.0</add>
78 </field>
79 <field>
80 <name>weight</name>
81 <title>Order</title>
82 <type>int unsigned</type>
83 <required>true</required>
84 <comment>controls sort order</comment>
85 <add>3.0</add>
86 </field>
87 <field>
88 <name>visibility_id</name>
89 <title>Participant Status Visibility</title>
90 <type>int unsigned</type>
91 <comment>whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group</comment>
92 <add>3.0</add>
93 <pseudoconstant>
94 <optionGroupName>visibility</optionGroupName>
95 </pseudoconstant>
96 <html>
97 <type>Select</type>
98 </html>
99 </field>
100 </table>