@@ -53,106+53,138 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
/**
* Membership ID
*
/**
* 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
*
*/
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
*
*/
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...).
*
*/
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.
*
*/
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.
*
*/
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;
/**
*/
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
*
*/
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.
*
*/
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.
*
*/
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.
*
*/
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).
*
*/
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;
/**
*/
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;
/**
*/
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.
*
*/
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.
*
*/
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;
*/
public $campaign_id;
@@ -410,7+442,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {