| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- /*
- * @Author: 凯
- * @Date: 2021-03-02 09:50:20
- * @LastEditTime: 2021-04-27 10:29:46
- * @LastEditors: Please set LastEditors
- * @Description: In User Settings Edit
- * @FilePath: \admin_php\models\ShopShare.php
- */
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "{{%shop_share}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $type
- * @property integer $order_id
- * @property integer $shop_id
- * @property integer $amount
- * @property integer $is_delete
- * @property integer $status
- * @property string $version
- * @property string $the_desc
- * @property integer $user_id
- * @property integer $created_at
- */
- class ShopShare extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%shop_share}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['store_id', 'type', 'order_id', 'shop_id', 'is_delete', 'user_id', 'created_at'], 'integer'],
- [['amount'], 'number'],
- [['version'], 'string', 'max' => 255],
- [['the_desc'], 'string', 'max' => 255],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'store_id' => 'Store ID',
- 'type' => '类型 类型 0--普通 1--秒杀',
- 'order_id' => '订单id',
- 'shop_id' => '团长id',
- 'amount' => '团长佣金',
- 'is_delete' => 'Is Delete',
- 'version' => 'Version',
- 'user_id' => '下单用户id',
- 'the_desc' => '备注',
- 'created_at' => '添加时间'
- ];
- }
- }
|