Merge pull request #14249 from yashodha/959_dev
[civicrm-core.git] / CRM / Mailing / Event / DAO / Reply.php
index 45862d3b4205e9e8639a519049ab5eebf0241bc0..27ec175e906a1fc6bf3553637ff1cb54afec3466 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:651380df4cde36fdfc999b5570cac1f9)
+ * (GenCodeChecksum:0ddff564744f8da4c3d5030ceb692b9c)
  */
 
 /**
@@ -19,24 +19,24 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_mailing_event_reply';
+  public static $_tableName = 'civicrm_mailing_event_reply';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
   /**
    * FK to EventQueue
    *
-   * @var int unsigned
+   * @var int
    */
   public $event_queue_id;
 
@@ -63,7 +63,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
    */
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
     }
@@ -83,6 +83,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Reply ID'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_reply.id',
           'table_name' => 'civicrm_mailing_event_reply',
           'entity' => 'Reply',
           'bao' => 'CRM_Mailing_Event_BAO_Reply',
@@ -94,6 +95,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'title' => ts('Event Queue'),
           'description' => ts('FK to EventQueue'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_reply.event_queue_id',
           'table_name' => 'civicrm_mailing_event_reply',
           'entity' => 'Reply',
           'bao' => 'CRM_Mailing_Event_BAO_Reply',
@@ -106,6 +108,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'title' => ts('Reply Timestamp'),
           'description' => ts('When this reply event occurred.'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_reply.time_stamp',
           'default' => 'CURRENT_TIMESTAMP',
           'table_name' => 'civicrm_mailing_event_reply',
           'entity' => 'Reply',