X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMember%2FDAO%2FMembership.php;h=94bcb0f9b07e0a5be76d49e9fcf50f9e970f40b1;hb=e3050b5a84d662a7c8c0f4f9df42dd9d2995014e;hp=e378b8876e5cf4ce8513a035853df09fbaffd23d;hpb=1dfa209b8bacf2171d282d238aaede763b27466f;p=civicrm-core.git diff --git a/CRM/Member/DAO/Membership.php b/CRM/Member/DAO/Membership.php index e378b8876e..94bcb0f9b0 100644 --- a/CRM/Member/DAO/Membership.php +++ b/CRM/Member/DAO/Membership.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/Membership.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fd3bcddc97a226b449f26e3280ef2ace) + * (GenCodeChecksum:0619aa3946bcadcab1919672c9ecf35a) */ /** @@ -53,106 +53,138 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { /** * 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;