*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c08c4d0fc52564ca707e07af4649231c)
+ * (GenCodeChecksum:51449e1b36d9d248712f346f20c9e446)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
/**
* date on which this job was scheduled.
*
- * @var datetime
+ * @var timestamp
*/
public $scheduled_date;
/**
* date on which this job was started.
*
- * @var datetime
+ * @var timestamp
*/
public $start_date;
/**
* date on which this job ended.
*
- * @var datetime
+ * @var timestamp
*/
public $end_date;
/**
) ,
'scheduled_date' => array(
'name' => 'scheduled_date',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Mailing Scheduled Date') ,
'description' => 'date on which this job was scheduled.',
+ 'required' => false,
+ 'default' => 'NULL',
'table_name' => 'civicrm_mailing_job',
'entity' => 'MailingJob',
'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'start_date' => array(
'name' => 'start_date',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Mailing Job Start Date') ,
'description' => 'date on which this job was started.',
+ 'required' => false,
+ 'default' => 'NULL',
'table_name' => 'civicrm_mailing_job',
'entity' => 'MailingJob',
'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'end_date' => array(
'name' => 'end_date',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Mailing Job End Date') ,
'description' => 'date on which this job ended.',
+ 'required' => false,
+ 'default' => 'NULL',
'table_name' => 'civicrm_mailing_job',
'entity' => 'MailingJob',
'bao' => 'CRM_Mailing_BAO_MailingJob',