CRM-19925 Updated DAO files
[civicrm-core.git] / CRM / Core / DAO / Discount.php
index 9eb034510838aeaa4ac70c962e641dd6b394228a..50957121f3f2a0dfa08f15679ca095bc80f3b483 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b82536086f7f2111cddc36452c9aeb9e)
+ * (GenCodeChecksum:f09af911434bdf229ff455ec8a0616b0)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -122,6 +122,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'title' => ts('Discount ID') ,
           'description' => 'primary key',
           'required' => true,
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
         ) ,
         'entity_table' => array(
           'name' => 'entity_table',
@@ -130,6 +133,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'description' => 'physical tablename for entity being joined to discount, e.g. civicrm_event',
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
         ) ,
         'entity_id' => array(
           'name' => 'entity_id',
@@ -137,6 +143,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'title' => ts('Entity ID') ,
           'description' => 'FK to entity table specified in entity_table column.',
           'required' => true,
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
         ) ,
         'participant_discount_name' => array(
           'name' => 'price_set_id',
@@ -148,6 +157,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'where' => 'civicrm_discount.price_set_id',
           'headerPattern' => '',
           'dataPattern' => '',
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
           'FKClassName' => 'CRM_Price_DAO_PriceSet',
         ) ,
         'start_date' => array(
@@ -155,12 +167,18 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Discount Start Date') ,
           'description' => 'Date when discount starts.',
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
         ) ,
         'end_date' => array(
           'name' => 'end_date',
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Discount End Date') ,
           'description' => 'Date when discount ends.',
+          'table_name' => 'civicrm_discount',
+          'entity' => 'Discount',
+          'bao' => 'CRM_Core_BAO_Discount',
         ) ,
       );
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);