*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e989278865fbeabd9f3d6efc7271a2d1)
+ * (GenCodeChecksum:9cb69957096aad15ee7d55a4efceb53e)
*/
/**
/**
* 0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;
*
- * @var bool
+ * @var int
*/
public $auto_renew;
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Membership Type Duration Unit'),
'description' => ts('Unit in which membership period is expressed.'),
+ 'required' => TRUE,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'where' => 'civicrm_membership_type.duration_unit',
],
'auto_renew' => [
'name' => 'auto_renew',
- 'type' => CRM_Utils_Type::T_BOOLEAN,
+ 'type' => CRM_Utils_Type::T_INT,
'title' => ts('Auto Renew'),
'description' => ts('0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;'),
'where' => 'civicrm_membership_type.auto_renew',