Merge pull request #21470 from mattwire/templatecontributioncreate
[civicrm-core.git] / CRM / Mailing / DAO / MailingJob.php
index fb5b2d8748c89c60abc144279fb94a37280de610..3ba252d04082e85f77212e577f6bf7393a242968 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2527bca832d0e7751c69a42d33f28159)
+ * (GenCodeChecksum:fdca7fda2701c59049924abfdb6adf3b)
  */
 
 /**
@@ -32,77 +32,99 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
   public static $_log = FALSE;
 
   /**
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $id;
 
   /**
    * The ID of the mailing this Job will send.
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $mailing_id;
 
   /**
    * date on which this job was scheduled.
    *
-   * @var timestamp
+   * @var string
+   *   (SQL type: timestamp)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $scheduled_date;
 
   /**
    * date on which this job was started.
    *
-   * @var timestamp
+   * @var string
+   *   (SQL type: timestamp)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $start_date;
 
   /**
    * date on which this job ended.
    *
-   * @var timestamp
+   * @var string
+   *   (SQL type: timestamp)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $end_date;
 
   /**
    * The state of this job
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(12))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $status;
 
   /**
    * Is this job for a test mail?
    *
-   * @var bool
+   * @var bool|string|null
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_test;
 
   /**
    * Type of mailling job: null | child
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $job_type;
 
   /**
    * Parent job id
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $parent_id;
 
   /**
    * Offset of the child job
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $job_offset;
 
   /**
    * Queue size limit for each child job
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $job_limit;
 
@@ -188,7 +210,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'description' => ts('date on which this job was scheduled.'),
           'required' => FALSE,
           'where' => 'civicrm_mailing_job.scheduled_date',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_mailing_job',
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
@@ -206,7 +228,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'description' => ts('date on which this job was started.'),
           'required' => FALSE,
           'where' => 'civicrm_mailing_job.start_date',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_mailing_job',
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
@@ -225,7 +247,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'description' => ts('date on which this job ended.'),
           'required' => FALSE,
           'where' => 'civicrm_mailing_job.end_date',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_mailing_job',
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
@@ -289,7 +311,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'title' => ts('Parent ID'),
           'description' => ts('Parent job id'),
           'where' => 'civicrm_mailing_job.parent_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_mailing_job',
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',