WechatSharerShop.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * Class WechatSharerShop
  10. * @package app\models
  11. * @property integer $id
  12. * @property string $shop_appid
  13. * @property string $shop_nickname
  14. * @property string $shop_head_img
  15. * @property integer $store_id
  16. * @property integer $type
  17. * @property integer $bind_time
  18. **/
  19. class WechatSharerShop extends \yii\db\ActiveRecord
  20. {
  21. /**
  22. * @inheritdoc
  23. */
  24. public static function tableName()
  25. {
  26. return '{{%wechat_sharer_shop}}';
  27. }
  28. /**
  29. * @inheritdoc
  30. */
  31. public function rules()
  32. {
  33. return [
  34. [['id', 'store_id', 'bind_time'], 'integer'],
  35. [["shop_appid", "shop_nickname", "shop_head_img"], 'string'],
  36. ];
  37. }
  38. /**
  39. * @inheritdoc
  40. */
  41. public function attributeLabels()
  42. {
  43. return [
  44. 'id' => "ID",
  45. 'store_id' => "商城ID",
  46. ];
  47. }
  48. }