| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * Class StoreMini
- * @package app\models
- * @property integer $id
- * @property string $order_id
- * @property integer $sku_id
- * @property string $created_at
- * @property string $updated_at
- * @property integer $store_id
- * @property string $sharer_appid
- * @property integer $status
- * @property integer $order_create_time
- * @property integer $pay_time
- * @property integer $order_update_time
- * @property integer $commission_order_status
- * @property string $product_info
- * @property string $order_info
- * @property string $commission_info
- * @property string $buyer_info
- * @property string $union_id
- * @property string $shop_appid
- * @property string $shop_name
- * @property string $actual_payment
- * @property string $product_title
- **/
- class WeChatSharerOrder extends \yii\db\ActiveRecord
- {
- /**
- * @var mixed|null
- */
- public $mini_info;
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%wechat_sharer_order}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [["order_update_time", "order_create_time",'id', 'sku_id', 'store_id', 'status', 'commission_order_status', "pay_time"], 'integer'],
- [[ "product_info",'order_info', 'commission_info', 'buyer_info', 'union_id', 'sharer_appid'], 'string'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => "ID",
- 'order_id' => "联盟机构订单号",
- 'sku_id' => "商品skuid",
- 'store_id' => "商城ID",
- 'status' => "订单状态",
- 'order_create_time' => "订单创建时间",
- 'pay_time' => "订单支付时间",
- 'order_update_time' => "订单更新时间",
- 'commission_order_status' => "佣金单状态",
- "product_info" => "佣金单商品信息",
- "order_info" => "订单信息",
- "commission_info" => "分佣信息",
- "buyer_info" => "买家信息",
- "union_id" => "用户unionid",
- ];
- }
- }
|