*
* Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fe3bd0baaffcc93590b3285c6cf96fc1)
+ * (GenCodeChecksum:b7a657943e1cf6e84d93e4b729fe7d10)
*/
/**
/**
* Unique table 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;
/**
* Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $acl_role_id;
* Table of the object joined to the ACL Role (Contact or Group)
*
* @var string
+ * (SQL type: varchar(64))
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_table;
/**
* ID of the group/contact object being joined
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_id;
/**
* Is this property active?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_active;
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Entity Role is Active'),
'description' => ts('Is this property active?'),
+ 'required' => TRUE,
'where' => 'civicrm_acl_entity_role.is_active',
+ 'default' => '1',
'table_name' => 'civicrm_acl_entity_role',
'entity' => 'ACLEntityRole',
'bao' => 'CRM_ACL_BAO_ACLEntityRole',