Merge pull request #23961 from totten/master-mgdphp-caseacttype
[civicrm-core.git] / CRM / Core / DAO / UserJob.php
index 51314b1b4393279bf9e2d3c60560f9b7dc8d763c..c428300337895bf254d8aa8040f1611133a89068 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UserJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbe7ab7b35b9ebe7f7248cc6385e19b6)
+ * (GenCodeChecksum:4976da6332cddd37dbae0071e2319611)
  */
 
 /**
@@ -110,11 +110,13 @@ class CRM_Core_DAO_UserJob extends CRM_Core_DAO {
   public $status_id;
 
   /**
-   * @var int|string
-   *   (SQL type: int unsigned)
+   * Name of the job type, which will allow finding the correct class
+   *
+   * @var string
+   *   (SQL type: varchar(64))
    *   Note that values will be retrieved from the database as a string.
    */
-  public $type_id;
+  public $job_type;
 
   /**
    * FK to Queue
@@ -321,12 +323,15 @@ class CRM_Core_DAO_UserJob extends CRM_Core_DAO {
           ],
           'add' => '5.50',
         ],
-        'type_id' => [
-          'name' => 'type_id',
-          'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('User Job Type ID'),
+        'job_type' => [
+          'name' => 'job_type',
+          'type' => CRM_Utils_Type::T_STRING,
+          'title' => ts('User Job Type'),
+          'description' => ts('Name of the job type, which will allow finding the correct class'),
           'required' => TRUE,
-          'where' => 'civicrm_user_job.type_id',
+          'maxlength' => 64,
+          'size' => CRM_Utils_Type::BIG,
+          'where' => 'civicrm_user_job.job_type',
           'table_name' => 'civicrm_user_job',
           'entity' => 'UserJob',
           'bao' => 'CRM_Core_BAO_UserJob',