| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- /**
- * This is the model class for table "{{%purchase_import_cart}}".
- *
- * @property int $id
- * @property int $store_id
- * @property int $saas_id 用户id
- * @property int $goods_id 商品id
- * @property int $created_at
- * @property int $is_delete
- * @property string $cat_ids 分类列表
- */
- class PurchaseImportCart extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%purchase_import_cart}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['store_id', 'saas_id', 'goods_id'], 'required'],
- [['store_id', 'saas_id', 'goods_id', 'created_at', 'is_delete'], 'integer'],
- [['cat_ids'], 'string'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'store_id' => 'Store ID',
- 'saas_id' => '用户id',
- 'goods_id' => '商品id',
- 'created_at' => 'created_at',
- 'is_delete' => 'Is Delete',
- 'cat_ids' => '分类列表',
- ];
- }
- }
|