*
* Generated from xml/schema/CRM/Mailing/Event/Reply.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4b1d874923b9181d155aeffd8639a6a)
+ * (GenCodeChecksum:c820f3b64d2152014b47a738c32f1f84)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
/**
* When this reply event occurred.
*
- * @var datetime
+ * @var timestamp
*/
public $time_stamp;
/**
) ,
'time_stamp' => array(
'name' => 'time_stamp',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Reply Timestamp') ,
'description' => 'When this reply event occurred.',
'required' => true,
+ 'default' => 'CURRENT_TIMESTAMP',
'table_name' => 'civicrm_mailing_event_reply',
'entity' => 'Reply',
'bao' => 'CRM_Mailing_Event_BAO_Reply',