Merge pull request #15415 from ixiam/dev_issue#1297
[civicrm-core.git] / CRM / Core / DAO / StatusPreference.php
index 94f5d599380225a0b79496ef9b9edd46f8f33ad3..1cbbc9218710a62992ffc300e1c780e1a34e8495 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:777d59b72a077ecb4d4caa60e13bb479)
+ * (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']);
     }