Item.php 702 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecshop\models\mysqldb\cart;
  10. use yii\db\ActiveRecord;
  11. /**
  12. * Cart item.
  13. *
  14. * @property int $item_id
  15. * @property string $store
  16. * @property int $cart_id
  17. * @property int $created_at
  18. * @property int $updated_at
  19. * @property string $product_id
  20. * @property int $qty
  21. * @property string $custom_option_sku
  22. * @property int $active
  23. *
  24. * @author Terry Zhao <2358269014@qq.com>
  25. * @since 1.0
  26. */
  27. class Item extends ActiveRecord
  28. {
  29. public static function tableName()
  30. {
  31. return '{{%sales_flat_cart_item}}';
  32. }
  33. }