Source of file ProductOptions_ProductContainer.php
Size: 0,615 Bytes - Last Modified: 2021-12-23T10:19:59+00:00
/var/www/docs.ssmods.com/process/src/src/Product/ProductOptions_ProductContainer.php
1234567891011121314151617181920212223 | <?php /* Join-Tabelle für die many_many Beziehung der Produkte mit den entsprechenden Produktoptionen und den jeweiligen GruppenEinstellungen (Preise/Active) */ namespace Schrattenholz\OrderProfileFeature; use Silverstripe\ORM\DataObject; class ProductOptions_ProductContainer extends DataObject{ private static $table_name="ProductOptions_ProductContainer"; private static $db = [ 'Price' => 'Decimal(6,2)', 'Active'=>'Boolean(1)' ]; private static $has_one = [ 'ProductOption' => ProductOption::class, 'OrderProfileFeature_ProductContainer' => OrderProfileFeature_ProductContainer::class, ]; } |