*
* Generated from xml/schema/CRM/Member/Membership.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd3bcddc97a226b449f26e3280ef2ace)
+ * (GenCodeChecksum:0619aa3946bcadcab1919672c9ecf35a)
*/
/**
/**
* Membership 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;
/**
* FK to Contact ID
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contact_id;
/**
* FK to Membership Type
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $membership_type_id;
/**
* Beginning of initial membership period (member since...).
*
- * @var date
+ * @var string|null
+ * (SQL type: date)
+ * Note that values will be retrieved from the database as a string.
*/
public $join_date;
/**
* Beginning of current uninterrupted membership period.
*
- * @var date
+ * @var string|null
+ * (SQL type: date)
+ * Note that values will be retrieved from the database as a string.
*/
public $start_date;
/**
* Current membership period expire date.
*
- * @var date
+ * @var string|null
+ * (SQL type: date)
+ * Note that values will be retrieved from the database as a string.
*/
public $end_date;
/**
- * @var string
+ * @var string|null
+ * (SQL type: varchar(128))
+ * Note that values will be retrieved from the database as a string.
*/
public $source;
/**
* FK to Membership Status
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $status_id;
/**
* Admin users may set a manual status which overrides the calculated status. When this flag is true, automated status update scripts should NOT modify status for the record.
*
- * @var bool
+ * @var bool|string|null
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_override;
/**
* Then end date of membership status override if 'Override until selected date' override type is selected.
*
- * @var date
+ * @var string|null
+ * (SQL type: date)
+ * Note that values will be retrieved from the database as a string.
*/
public $status_override_end_date;
/**
* Optional FK to Parent Membership.
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $owner_membership_id;
/**
* Maximum number of related memberships (membership_type override).
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int)
+ * Note that values will be retrieved from the database as a string.
*/
public $max_related;
/**
- * @var bool
+ * @var bool|string|null
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_test;
/**
- * @var bool
+ * @var bool|string|null
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_pay_later;
/**
* Conditional foreign key to civicrm_contribution_recur id. Each membership in connection with a recurring contribution carries a foreign key to the recurring contribution record. This assumes we can track these processor initiated events.
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contribution_recur_id;
/**
* The campaign for which this membership is attached.
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $campaign_id;
'import' => TRUE,
'where' => 'civicrm_membership.status_override_end_date',
'export' => TRUE,
- 'default' => 'NULL',
+ 'default' => NULL,
'table_name' => 'civicrm_membership',
'entity' => 'Membership',
'bao' => 'CRM_Member_BAO_Membership',