*
* 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';
'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',
'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',
'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',
'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(
'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']);