first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
<?php
/**
* This class adds structure of 'st_discount_coupon_code_has_category' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountCouponCodeHasCategoryMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountCouponCodeHasCategoryMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_coupon_code_has_category');
$tMap->setPhpName('DiscountCouponCodeHasCategory');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_COUPON_CODE_ID', 'DiscountCouponCodeId', 'int' , CreoleTypes::INTEGER, 'st_discount_coupon_code', 'ID', true, null);
$tMap->addForeignPrimaryKey('CATEGORY_ID', 'CategoryId', 'int' , CreoleTypes::INTEGER, 'st_category', 'ID', true, null);
$tMap->addColumn('IS_OPT', 'IsOpt', 'boolean', CreoleTypes::BOOLEAN, true, null);
} // doBuild()
} // DiscountCouponCodeHasCategoryMapBuilder

View File

@@ -0,0 +1,70 @@
<?php
/**
* This class adds structure of 'st_discount_coupon_code_has_producer' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountCouponCodeHasProducerMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountCouponCodeHasProducerMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_coupon_code_has_producer');
$tMap->setPhpName('DiscountCouponCodeHasProducer');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_COUPON_CODE_ID', 'DiscountCouponCodeId', 'int' , CreoleTypes::INTEGER, 'st_discount_coupon_code', 'ID', true, null);
$tMap->addForeignPrimaryKey('PRODUCER_ID', 'ProducerId', 'int' , CreoleTypes::INTEGER, 'st_producer', 'ID', true, null);
} // doBuild()
} // DiscountCouponCodeHasProducerMapBuilder

View File

@@ -0,0 +1,70 @@
<?php
/**
* This class adds structure of 'st_discount_coupon_code_has_product' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountCouponCodeHasProductMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountCouponCodeHasProductMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_coupon_code_has_product');
$tMap->setPhpName('DiscountCouponCodeHasProduct');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_COUPON_CODE_ID', 'DiscountCouponCodeId', 'int' , CreoleTypes::INTEGER, 'st_discount_coupon_code', 'ID', true, null);
$tMap->addForeignPrimaryKey('PRODUCT_ID', 'ProductId', 'int' , CreoleTypes::INTEGER, 'st_product', 'ID', true, null);
} // doBuild()
} // DiscountCouponCodeHasProductMapBuilder

View File

@@ -0,0 +1,86 @@
<?php
/**
* This class adds structure of 'st_discount_coupon_code' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountCouponCodeMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountCouponCodeMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_coupon_code');
$tMap->setPhpName('DiscountCouponCode');
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addForeignKey('SF_GUARD_USER_ID', 'SfGuardUserId', 'int', CreoleTypes::INTEGER, 'sf_guard_user', 'ID', false, null);
$tMap->addForeignKey('ORDER_ID', 'OrderId', 'int', CreoleTypes::INTEGER, 'st_order', 'ID', false, null);
$tMap->addColumn('CODE', 'Code', 'string', CreoleTypes::VARCHAR, true, 16);
$tMap->addColumn('USED', 'Used', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('VALID_USAGE', 'ValidUsage', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('ALLOW_ALL_PRODUCTS', 'AllowAllProducts', 'boolean', CreoleTypes::BOOLEAN, false, null);
$tMap->addColumn('VALID_FROM', 'ValidFrom', 'int', CreoleTypes::TIMESTAMP, false, null);
$tMap->addColumn('VALID_TO', 'ValidTo', 'int', CreoleTypes::TIMESTAMP, false, null);
$tMap->addColumn('DISCOUNT', 'Discount', 'double', CreoleTypes::DECIMAL, true, 3);
} // doBuild()
} // DiscountCouponCodeMapBuilder

View File

@@ -0,0 +1,72 @@
<?php
/**
* This class adds structure of 'st_discount_has_category' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountHasCategoryMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountHasCategoryMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_has_category');
$tMap->setPhpName('DiscountHasCategory');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_ID', 'DiscountId', 'int' , CreoleTypes::INTEGER, 'st_discount', 'ID', true, null);
$tMap->addForeignPrimaryKey('CATEGORY_ID', 'CategoryId', 'int' , CreoleTypes::INTEGER, 'st_category', 'ID', true, null);
$tMap->addColumn('IS_OPT', 'IsOpt', 'boolean', CreoleTypes::BOOLEAN, true, null);
} // doBuild()
} // DiscountHasCategoryMapBuilder

View File

@@ -0,0 +1,70 @@
<?php
/**
* This class adds structure of 'st_discount_has_producer' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountHasProducerMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountHasProducerMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_has_producer');
$tMap->setPhpName('DiscountHasProducer');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_ID', 'DiscountId', 'int' , CreoleTypes::INTEGER, 'st_discount', 'ID', true, null);
$tMap->addForeignPrimaryKey('PRODUCER_ID', 'ProducerId', 'int' , CreoleTypes::INTEGER, 'st_producer', 'ID', true, null);
} // doBuild()
} // DiscountHasProducerMapBuilder

View File

@@ -0,0 +1,70 @@
<?php
/**
* This class adds structure of 'st_discount_has_product' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountHasProductMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountHasProductMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_has_product');
$tMap->setPhpName('DiscountHasProduct');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('DISCOUNT_ID', 'DiscountId', 'int' , CreoleTypes::INTEGER, 'st_discount', 'ID', true, null);
$tMap->addForeignPrimaryKey('PRODUCT_ID', 'ProductId', 'int' , CreoleTypes::INTEGER, 'st_product', 'ID', true, null);
} // doBuild()
} // DiscountHasProductMapBuilder

View File

@@ -0,0 +1,94 @@
<?php
/**
* This class adds structure of 'st_discount' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount');
$tMap->setPhpName('Discount');
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('TYPE', 'Type', 'string', CreoleTypes::VARCHAR, true, 1);
$tMap->addColumn('PRICE_TYPE', 'PriceType', 'string', CreoleTypes::VARCHAR, true, 1);
$tMap->addColumn('NAME', 'Name', 'string', CreoleTypes::VARCHAR, true, 64);
$tMap->addColumn('VALUE', 'Value', 'double', CreoleTypes::DECIMAL, false, 8);
$tMap->addColumn('WHOLESALE_VALUE', 'WholesaleValue', 'double', CreoleTypes::DECIMAL, false, 8);
$tMap->addColumn('CONDITIONS', 'Conditions', 'array', CreoleTypes::VARCHAR, false, 4096);
$tMap->addColumn('PRIORITY', 'Priority', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('ACTIVE', 'Active', 'boolean', CreoleTypes::BOOLEAN, true, null);
$tMap->addColumn('ALL_PRODUCTS', 'AllProducts', 'boolean', CreoleTypes::BOOLEAN, true, null);
$tMap->addColumn('ALL_CLIENTS', 'AllClients', 'boolean', CreoleTypes::BOOLEAN, true, null);
$tMap->addColumn('ALLOW_ANONYMOUS_CLIENTS', 'AllowAnonymousClients', 'boolean', CreoleTypes::BOOLEAN, true, null);
$tMap->addColumn('AUTO_ACTIVE', 'AutoActive', 'boolean', CreoleTypes::BOOLEAN, true, null);
$tMap->addForeignKey('PRODUCT_ID', 'ProductId', 'int', CreoleTypes::INTEGER, 'st_product', 'ID', false, null);
} // doBuild()
} // DiscountMapBuilder

View File

@@ -0,0 +1,76 @@
<?php
/**
* This class adds structure of 'st_discount_range' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountRangeMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountRangeMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_range');
$tMap->setPhpName('DiscountRange');
$tMap->setUseIdGenerator(true);
$tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);
$tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addForeignKey('DISCOUNT_ID', 'DiscountId', 'int', CreoleTypes::INTEGER, 'st_discount', 'ID', true, null);
$tMap->addColumn('TOTAL_VALUE', 'TotalValue', 'double', CreoleTypes::DOUBLE, true, null);
} // doBuild()
} // DiscountRangeMapBuilder

View File

@@ -0,0 +1,72 @@
<?php
/**
* This class adds structure of 'st_discount_user' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class DiscountUserMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.DiscountUserMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_discount_user');
$tMap->setPhpName('DiscountUser');
$tMap->setUseIdGenerator(true);
$tMap->addForeignKey('SF_GUARD_USER_ID', 'SfGuardUserId', 'int', CreoleTypes::INTEGER, 'sf_guard_user', 'ID', true, null);
$tMap->addColumn('DISCOUNT', 'Discount', 'double', CreoleTypes::DOUBLE, false, null);
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
} // doBuild()
} // DiscountUserMapBuilder

View File

@@ -0,0 +1,72 @@
<?php
/**
* This class adds structure of 'st_user_has_discount' table to 'propel' DatabaseMap object.
*
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package plugins.stDiscountPlugin.lib.model.map
*/
class UserHasDiscountMapBuilder {
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'plugins.stDiscountPlugin.lib.model.map.UserHasDiscountMapBuilder';
/**
* The database map.
*/
private $dbMap;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
*/
public function isBuilt()
{
return ($this->dbMap !== null);
}
/**
* Gets the databasemap this map builder built.
*
* @return the databasemap
*/
public function getDatabaseMap()
{
return $this->dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*
* @return void
* @throws PropelException
*/
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('st_user_has_discount');
$tMap->setPhpName('UserHasDiscount');
$tMap->setUseIdGenerator(false);
$tMap->addForeignPrimaryKey('SF_GUARD_USER_ID', 'SfGuardUserId', 'int' , CreoleTypes::INTEGER, 'sf_guard_user', 'ID', true, null);
$tMap->addForeignPrimaryKey('DISCOUNT_ID', 'DiscountId', 'int' , CreoleTypes::INTEGER, 'st_discount', 'ID', true, null);
$tMap->addColumn('AUTO', 'Auto', 'boolean', CreoleTypes::BOOLEAN, true, null);
} // doBuild()
} // UserHasDiscountMapBuilder