Blame view

models/Wishlist.php 679 Bytes
0d441cff   Alexey Boroda   -Cabinet ready
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  <?php
      
      namespace artbox\order\models;
      
      use yii\db\ActiveRecord;
      
      /**
       * Class Wishlist
       *
       * @property integer $user_id
       * @property integer $product_id
       * @property integer $variant_id
       * @package artbox\order\models
       */
      class Wishlist extends ActiveRecord
      {
          /**
           * @inheritdoc
           */
          public static function tableName()
          {
              return 'wishlist';
          }
          
          /**
           * @inheritdoc
           */
          public static function primaryKey()
          {
              return [
fd06ab16   Anastasia   - wishlist
31
                  'product_id',
0d441cff   Alexey Boroda   -Cabinet ready
32
33
34
35
                  'user_id',
              ];
          }
      }