| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%video_shop_user}}".
- *
- * @property integer $id
- * @property string $open_id
- * @property string $union_id
- * @property integer $saas_id
- * @property integer $store_id
- * @property integer $mini_id
- * @property integer $is_delete
- * @property string $created_at
- * @property string $updated_at
- */
- class VideoShopUser extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%video_shop_user}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'saas_id', 'is_delete', 'store_id', 'mini_id'], 'integer'],
- [['open_id'], 'string'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- "id" => "",
- "open_id" => "小店openid",
- "saas_id" => "系统用户",
- 'mini_id' => '',
- "is_delete" => "",
- "created_at" => "",
- "updated_at" => "",
- "store_id" => "",
- ];
- }
- }
|