*
* Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0f5f8f9d2171b25bb250914d746996bc)
+ * (GenCodeChecksum:ed0f2b22eb6983f73fa5b87fc4fa7c9c)
*/
/**
/**
* unique participant status type id
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* non-localized name of the status type
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(64))
+ * Note that values will be retrieved from the database as a string.
*/
public $name;
/**
* localized label for display of this status type
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $label;
/**
* the general group of status type this one belongs to
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(8))
+ * Note that values will be retrieved from the database as a string.
*/
public $class;
/**
* whether this is a status type required by the system
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_reserved;
/**
* whether this status type is active
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_active;
/**
* whether this status type is counted against event size limit
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_counted;
/**
* controls sort order
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $weight;
/**
* whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $visibility_id;
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Is Reserved?>'),
'description' => ts('whether this is a status type required by the system'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_reserved',
+ 'default' => '0',
'table_name' => 'civicrm_participant_status_type',
'entity' => 'ParticipantStatusType',
'bao' => 'CRM_Event_BAO_ParticipantStatusType',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status is Active'),
'description' => ts('whether this status type is active'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_active',
'default' => '1',
'table_name' => 'civicrm_participant_status_type',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Counts?'),
'description' => ts('whether this status type is counted against event size limit'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_counted',
+ 'default' => '0',
'table_name' => 'civicrm_participant_status_type',
'entity' => 'ParticipantStatusType',
'bao' => 'CRM_Event_BAO_ParticipantStatusType',