Merge pull request #15837 from totten/master-prtmpl
[civicrm-core.git] / CRM / Core / DAO / StatusPreference.php
index 3e2bf54ec09cf4e9452b99b01a2ba22eb5d30b73..c3bc29c8ceec796e7cfb6cb7af67121ecffd2800 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/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb8e5ce5e19462083928dc256fe1ebf2)
+ * (GenCodeChecksum:ce861431549af8024fdbfe418607202f)
  */
 
 /**
@@ -77,6 +77,13 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
    */
   public $check_info;
 
+  /**
+   * Is this status check active?
+   *
+   * @var bool
+   */
+  public $is_active;
+
   /**
    * Class constructor.
    */
@@ -211,6 +218,18 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
         ],
+        'is_active' => [
+          'name' => 'is_active',
+          'type' => CRM_Utils_Type::T_BOOLEAN,
+          'title' => ts('Check Is Active'),
+          'description' => ts('Is this status check active?'),
+          'where' => 'civicrm_status_pref.is_active',
+          'default' => '1',
+          'table_name' => 'civicrm_status_pref',
+          'entity' => 'StatusPreference',
+          'bao' => 'CRM_Core_BAO_StatusPreference',
+          'localizable' => 0,
+        ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }