*
* Generated from xml/schema/CRM/Core/UserJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fc2efbbf7b26018fe3dff0cda44ffa28)
+ * (GenCodeChecksum:4976da6332cddd37dbae0071e2319611)
*/
/**
*/
public static $_log = FALSE;
+ /**
+ * Paths for accessing this entity in the UI.
+ *
+ * @var string[]
+ */
+ protected static $_paths = [
+ 'view' => 'civicrm/import/contact/summary?reset=1&user_job_id=[id]',
+ ];
+
/**
* Job ID
*
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
],
'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',