Merge pull request #15881 from civicrm/5.20
[civicrm-core.git] / CRM / Contribute / DAO / ContributionRecur.php
index dfc0899bc53b18550edef8b23421651f7d7497fe..368ef101c97389cd5c2e4705f9c9a83ac4d972ab 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1efdc763e4b5337f0dc4f9f13bd2d719)
+ * (GenCodeChecksum:f88b64f09ed0362f6d630038f0a47686)
  */
 
 /**
@@ -330,6 +330,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'labelColumn' => 'full_name',
             'nameColumn' => 'name',
+            'abbrColumn' => 'symbol',
           ],
         ],
         'frequency_unit' => [
@@ -383,7 +384,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Text',
           ],
         ],
-        'start_date' => [
+        'contribution_recur_start_date' => [
           'name' => 'start_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Start Date'),
@@ -394,12 +395,13 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution Start Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
         ],
-        'create_date' => [
+        'contribution_recur_create_date' => [
           'name' => 'create_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Created Date'),
@@ -410,12 +412,13 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution Create Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
         ],
-        'modified_date' => [
+        'contribution_recur_modified_date' => [
           'name' => 'modified_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Modified Date'),
@@ -425,12 +428,13 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution Modified Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
         ],
-        'cancel_date' => [
+        'contribution_recur_cancel_date' => [
           'name' => 'cancel_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Cancel Date'),
@@ -440,6 +444,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution Cancel Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDate',
@@ -455,11 +460,12 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution Cancel Reason'),
           'html' => [
             'type' => 'Text',
           ],
         ],
-        'end_date' => [
+        'contribution_recur_end_date' => [
           'name' => 'end_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Recurring Contribution End Date'),
@@ -469,6 +475,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Recurring Contribution End Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDate',
@@ -586,7 +593,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Text',
           ],
         ],
-        'next_sched_contribution_date' => [
+        'contribution_recur_next_sched_contribution_date' => [
           'name' => 'next_sched_contribution_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Next Scheduled Contribution Date'),
@@ -596,6 +603,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Next Scheduled Recurring Contribution'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDate',
@@ -616,7 +624,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Text',
           ],
         ],
-        'failure_retry_date' => [
+        'contribution_recur_failure_retry_date' => [
           'name' => 'failure_retry_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Retry Failed Attempt Date'),
@@ -626,6 +634,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'unique_title' => ts('Failed Recurring Contribution Retry Date'),
           'html' => [
             'type' => 'Select Date',
             'formatType' => 'activityDate',