Merge pull request #23085 from civicrm/5.48
[civicrm-core.git] / CRM / Event / DAO / ParticipantPayment.php
index 99f836c3dfebca47f0e65cf781651e2ee0487190..a13745ca8f37c082da2ff47bc7dac675181d3f93 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:46b1d29e4240673e67e23252fd2a1e1b)
+ * (GenCodeChecksum:e968c8fec853683ccda7863407aef635)
  */
 
 /**
@@ -32,23 +32,29 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
   public static $_log = TRUE;
 
   /**
-   * Participant Payment Id
+   * Participant Payment 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;
 
   /**
-   * Participant Id (FK)
+   * Participant ID (FK)
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $participant_id;
 
   /**
    * FK to contribution table.
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $contribution_id;
 
@@ -98,20 +104,24 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Payment ID'),
-          'description' => ts('Participant Payment Id'),
+          'description' => ts('Participant Payment ID'),
           'required' => TRUE,
           'where' => 'civicrm_participant_payment.id',
           'table_name' => 'civicrm_participant_payment',
           'entity' => 'ParticipantPayment',
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Number',
+          ],
+          'readonly' => TRUE,
           'add' => '1.7',
         ],
         'participant_id' => [
           'name' => 'participant_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Participant ID'),
-          'description' => ts('Participant Id (FK)'),
+          'description' => ts('Participant ID (FK)'),
           'required' => TRUE,
           'where' => 'civicrm_participant_payment.participant_id',
           'table_name' => 'civicrm_participant_payment',
@@ -119,12 +129,15 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_DAO_Participant',
+          'html' => [
+            'label' => ts("Participant"),
+          ],
           'add' => '1.7',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Contribution'),
+          'title' => ts('Contribution ID'),
           'description' => ts('FK to contribution table.'),
           'required' => TRUE,
           'where' => 'civicrm_participant_payment.contribution_id',
@@ -133,6 +146,9 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'html' => [
+            'label' => ts("Contribution"),
+          ],
           'add' => '2.0',
         ],
       ];