| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace addons\Store\common\models;
- use common\models\base\BaseActiveRecord;
- use Yii;
- /**
- * This is the model class for table "qimall_sync_goods_logs".
- *
- * @property int $id
- * @property int $mall_id
- * @property int $self_store_id 自身门店ID
- * @property int $source_store_id 源门店ID
- * @property int $goods_id 自身门店的商品id
- * @property int $source_goods_id 源门店的商品id
- * @property int $created_at
- * @property int $updated_at
- */
- class StoreSyncGoodsLogs extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_store_sync_goods_logs}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['self_store_id', 'source_store_id', 'goods_id', 'source_goods_id', 'created_at', 'updated_at'], 'integer'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'self_store_id' => '自身门店ID',
- 'source_store_id' => '源门店ID',
- 'goods_id' => '自身门店的商品id',
- 'source_goods_id' => '源门店的商品id',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- }
|