CRM-20312 regenerated DAOS with indexes
[civicrm-core.git] / CRM / Price / DAO / PriceFieldValue.php
index 1402b69a20e8ccb3433c272d79f39d09f3644370..2b3a301f8a28840dfc0beb578c7460a5d61868ea 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ed52bc054bb8aed4bb154756a79fafa1)
+ * (GenCodeChecksum:44b920e4a8091f16a96990834a24c288)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -189,6 +189,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Price Field Value ID') ,
           'description' => 'Price Field Value',
           'required' => true,
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
         ) ,
         'price_field_id' => array(
           'name' => 'price_field_id',
@@ -196,6 +200,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Price Field') ,
           'description' => 'FK to civicrm_price_field',
           'required' => true,
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceField',
         ) ,
         'name' => array(
@@ -205,6 +213,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'description' => 'Price field option name',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -216,6 +228,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'description' => 'Price field option label',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -228,6 +244,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'rows' => 2,
           'cols' => 60,
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -240,6 +260,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'rows' => 2,
           'cols' => 60,
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -252,6 +276,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'rows' => 2,
           'cols' => 60,
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -264,6 +292,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 512,
           'size' => 8,
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -274,6 +306,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Count') ,
           'description' => 'Number of participants per field option',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -284,6 +320,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Max Value') ,
           'description' => 'Max number of participants per field options',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -294,6 +334,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Order') ,
           'description' => 'Order in which the field options should appear',
           'default' => '1',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -304,6 +348,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Membership Type') ,
           'description' => 'FK to Membership Type',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_MembershipType',
           'html' => array(
             'type' => 'Select',
@@ -315,6 +363,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Membership Num Terms') ,
           'description' => 'Number of terms for this membership',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -324,6 +376,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Default Price Field Option?') ,
           'description' => 'Is this default price field option',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -334,6 +390,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Price Field Value is Active') ,
           'description' => 'Is this price field value active',
           'default' => '1',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
         ) ,
         'financial_type_id' => array(
           'name' => 'financial_type_id',
@@ -341,6 +401,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'title' => ts('Financial Type') ,
           'description' => 'FK to Financial Type.',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialType',
           'html' => array(
             'type' => 'Select',
@@ -362,6 +426,10 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
             2
           ) ,
           'default' => '0.0',
+          'table_name' => 'civicrm_price_field_value',
+          'entity' => 'PriceFieldValue',
+          'bao' => 'CRM_Price_BAO_PriceFieldValue',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -421,4 +489,11 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field_value', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }