| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use Yii;
- use yii\behaviors\TimestampBehavior;
- use yii\db\ActiveRecord;
- /**
- * This is the model class for table "{{%store_cloud}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $cloud_user_id
- * @property integer $cloud_store_id
- * @property integer $saas_user_id
- * @property integer $is_delete
- * @property integer $is_enable
- * @property string $name
- * @property string $access_token
- * @property string $tel
- * @property string $logo
- * @property string $certificate
- * @property string $id_card_reverse
- * @property string $id_card_front
- * @property integer created_at
- * @property integer updated_at
- * @property string $cloud_platform_list
- * @property integer $province_id
- * @property integer $city_id
- * @property integer $district_id
- * @property integer $can_distribution
- */
- class StoreCloud extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%store_cloud}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- 'attributes' => [
- ActiveRecord::EVENT_BEFORE_INSERT => ['created_at'],
- ]
- ]
- ];
- }
- // /**
- // * @inheritdoc
- // */
- // public function rules()
- // {
- // return [
- // [['id', 'store_id', 'could_user_id', 'could_store_id', 'is_delete','created_at', 'updated_at','type'], 'integer'],
- // [['access_token', 'name', 'logo', 'tel', 'certificate', 'id_card_reverse','id_card_front','password'], 'string']
- // ];
- // }
- }
|