Merge pull request #18912 from yashodha/dev_2153
[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 <field>
10 <name>id</name>
11 <title>Participant Status Type ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>unique participant status type id</comment>
15 <add>3.0</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>name</name>
23 <uniqueName>participant_status</uniqueName>
24 <title>Participant Status</title>
25 <type>varchar</type>
26 <length>64</length>
27 <import>true</import>
28 <unique>true</unique>
29 <comment>non-localized name of the status type</comment>
30 <add>3.0</add>
31 </field>
32 <field>
33 <name>label</name>
34 <title>Participant Status Label</title>
35 <type>varchar</type>
36 <length>255</length>
37 <unique>true</unique>
38 <localizable>true</localizable>
39 <comment>localized label for display of this status type</comment>
40 <add>3.0</add>
41 </field>
42 <field>
43 <name>class</name>
44 <title>Participant Status Class</title>
45 <type>varchar</type>
46 <length>8</length>
47 <comment>the general group of status type this one belongs to</comment>
48 <pseudoconstant>
49 <callback>CRM_Event_PseudoConstant::participantStatusClassOptions</callback>
50 </pseudoconstant>
51 <add>3.0</add>
52 <html>
53 <type>Select</type>
54 </html>
55 </field>
56 <field>
57 <name>is_reserved</name>
58 <title>Participant Status Is Reserved?></title>
59 <type>boolean</type>
60 <comment>whether this is a status type required by the system</comment>
61 <add>3.0</add>
62 </field>
63 <field>
64 <name>is_active</name>
65 <title>Participant Status is Active</title>
66 <type>boolean</type>
67 <default>1</default>
68 <comment>whether this status type is active</comment>
69 <add>3.0</add>
70 </field>
71 <field>
72 <name>is_counted</name>
73 <title>Participant Status Counts?</title>
74 <type>boolean</type>
75 <comment>whether this status type is counted against event size limit</comment>
76 <add>3.0</add>
77 </field>
78 <field>
79 <name>weight</name>
80 <title>Order</title>
81 <type>int unsigned</type>
82 <required>true</required>
83 <comment>controls sort order</comment>
84 <add>3.0</add>
85 </field>
86 <field>
87 <name>visibility_id</name>
88 <title>Participant Status Visibility</title>
89 <type>int unsigned</type>
90 <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>
91 <add>3.0</add>
92 <pseudoconstant>
93 <optionGroupName>visibility</optionGroupName>
94 </pseudoconstant>
95 <html>
96 <type>Select</type>
97 </html>
98 </field>
99 </table>