WeChatSharerLiveQrCode.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. use yii\behaviors\TimestampBehavior;
  9. /**
  10. * Class WeChatSharerLiveQrCode
  11. * @package app\models
  12. * @property integer $id
  13. * @property string $sharer_appid
  14. * @property string $talent_appid
  15. * @property string $export_id
  16. * @property string $qrcode_url
  17. * @property integer $store_id
  18. * @property integer $qr_id
  19. * @property integer $saas_id
  20. **/
  21. class WeChatSharerLiveQrCode extends \yii\db\ActiveRecord
  22. {
  23. /**
  24. * @var mixed|null
  25. */
  26. public $mini_info;
  27. /**
  28. * @inheritdoc
  29. */
  30. public static function tableName()
  31. {
  32. return '{{%wechat_sharer_live_qr_code}}';
  33. }
  34. /**
  35. * @inheritdoc
  36. */
  37. public function rules()
  38. {
  39. return [
  40. [['id', 'store_id','qr_id','saas_id'], 'integer'],
  41. [["sharer_appid", "talent_appid", "export_id", "qrcode_url"], 'string'],
  42. ];
  43. }
  44. /**
  45. * @inheritdoc
  46. */
  47. public function attributeLabels()
  48. {
  49. return [
  50. 'id' => "ID",
  51. 'store_id' => "商城ID",
  52. ];
  53. }
  54. }