| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- namespace common\models\goods;
- use common\models\base\BaseActiveRecord;
- use Yii;
- /**
- * This is the model class for table "qimall_sync_goods_logs".
- *
- * @property int $id
- * @property int $self_mall_id 自身商城ID
- * @property int $source_mall_id 源商城ID
- * @property int $goods_id 自身商城的商品id
- * @property int $source_goods_id 源商城的商品id
- * @property int $created_at
- * @property int $updated_at
- */
- class SyncGoodsLogs extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%sync_goods_logs}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['self_mall_id', 'source_mall_id', 'goods_id', 'source_goods_id', 'created_at', 'updated_at'], 'integer'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'self_mall_id' => '自身商城ID',
- 'source_mall_id' => '源商城ID',
- 'goods_id' => '自身商城的商品id',
- 'source_goods_id' => '源商城的商品id',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- }
|