Merge pull request #22631 from braders/calculateBaseScheduleDate-docblock
[civicrm-core.git] / CRM / Core / DAO / StatusPreference.php
index 58146b7396aca8a4d5d75930f42cd65ee5b67c34..9331244143ac908563c7e502d7c5c35fe470e305 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97f98c6f510e57260d2a5e3647a00d4f)
+ * (GenCodeChecksum:73ca47fbe3712351ea43f57b993c7a92)
  */
 
 /**
@@ -33,14 +33,18 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
   /**
    * Unique Status Preference 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;
 
   /**
    * Which Domain is this Status Preference for
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $domain_id;
 
@@ -48,41 +52,53 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
    * Name of the status check this preference references.
    *
    * @var string
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $name;
 
   /**
    * expires ignore_severity.  NULL never hushes.
    *
-   * @var date
+   * @var string|null
+   *   (SQL type: date)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $hush_until;
 
   /**
    * Hush messages up to and including this severity.
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $ignore_severity;
 
   /**
    * These settings are per-check, and can't be compared across checks.
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $prefs;
 
   /**
    * These values are per-check, and can't be compared across checks.
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $check_info;
 
   /**
    * Is this status check active?
    *
-   * @var bool
+   * @var bool|string|null
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_active;
 
@@ -191,7 +207,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'import' => TRUE,
           'where' => 'civicrm_status_pref.hush_until',
           'export' => TRUE,
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_status_pref',
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',