Merge pull request #23561 from eileenmcnaughton/import_catcher_
[civicrm-core.git] / CRM / Mailing / DAO / MailingJob.php
index 7058a2751a352fd56ad05ef77c76874362027b27..3f366c0dbc8bc9c26f9976e43c21bef250d6fcc6 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:492e51f255632b9c3d87714bc9ca0f4d)
  */
 
 /**
@@ -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
+   *   (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;
 
@@ -261,6 +283,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Mailing Job Is Test?'),
           'description' => ts('Is this job for a test mail?'),
+          'required' => TRUE,
           'where' => 'civicrm_mailing_job.is_test',
           'default' => '0',
           'table_name' => 'civicrm_mailing_job',