|
- <?php
-
-
-
- namespace domain\Producer\ProducerPriceRange;
-
- use common\components\ActiveRecordCommon;
-
- class ProducerPriceRange extends ActiveRecordCommon
- {
-
-
- public static function tableName()
- {
- return 'producer_price_range';
- }
-
-
-
- public function rules()
- {
- return [
- [['range_begin', 'range_end', 'price'], 'double'],
- [['dolibarr_product_id'], 'integer']
- ];
- }
-
-
-
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'range_begin' => 'Début',
- 'range_end' => 'Fin',
- 'price' => 'Tarif (HT)',
- 'dolibarr_product_id' => 'Dolibarr : id produit'
- ];
- }
- }
|