Merge pull request #18148 from civicrm/5.29
[civicrm-core.git] / CRM / Contribute / DAO / ContributionSoft.php
index 47e60a3f44b8e50f82970f9c5b21665fe4842c70..3a1a9b7af7609c05af4aa5179fc6cb8151f185bd 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7fbb150189946e587cb80c075945e5ba)
+ * (GenCodeChecksum:caa58722ef865c7342fdff08f24d86ee)
  */
 
 /**
  * Database access object for the ContributionSoft entity.
  */
 class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '2.2';
 
   /**
    * Static instance to hold the table name.
@@ -100,6 +102,13 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Contribution Softs');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -138,6 +147,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -151,6 +161,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '2.2',
         ],
         'contribution_soft_contact_id' => [
           'name' => 'contact_id',
@@ -168,6 +179,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.2',
         ],
         'amount' => [
           'name' => 'amount',
@@ -188,6 +200,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'currency' => [
           'name' => 'currency',
@@ -212,6 +225,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'pcp_id' => [
           'name' => 'pcp_id',
@@ -230,6 +244,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.2',
         ],
         'pcp_display_in_roll' => [
           'name' => 'pcp_display_in_roll',
@@ -241,6 +256,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'pcp_roll_nickname' => [
           'name' => 'pcp_roll_nickname',
@@ -254,6 +270,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'pcp_personal_note' => [
           'name' => 'pcp_personal_note',
@@ -270,6 +287,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'soft_credit_type_id' => [
           'name' => 'soft_credit_type_id',
@@ -286,6 +304,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'optionGroupName' => 'soft_credit_type',
             'optionEditPath' => 'civicrm/admin/options/soft_credit_type',
           ],
+          'add' => '2.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);