AggregateSaasQrcode.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * This is the model class for table "{{%aggregate_saas_qrcode}}".
  10. *
  11. * @property int $id
  12. * @property int $store_id
  13. * @property string $param_url
  14. * @property string $qrcode_url
  15. * @property int $admin_id
  16. * @property int $salesman_id
  17. * @property int $is_use
  18. * @property string $mini_url
  19. * @property string $create_time
  20. * @property int $shop_bind_time
  21. */
  22. class AggregateSaasQrcode extends \yii\db\ActiveRecord
  23. {
  24. /**
  25. * @inheritdoc
  26. */
  27. public static function tableName()
  28. {
  29. return '{{%aggregate_saas_qrcode}}';
  30. }
  31. /**
  32. * @inheritdoc
  33. */
  34. public function rules()
  35. {
  36. return [
  37. [["id", "store_id", "admin_id", "salesman_id", "is_use", "create_time", "shop_bind_time"], 'integer'],
  38. [["param_url", "qrcode_url", 'mini_url'], 'string'],
  39. ];
  40. }
  41. /**
  42. * @inheritdoc
  43. */
  44. public function attributeLabels()
  45. {
  46. return [
  47. 'id' => "ID",
  48. 'store_id' => "商城ID",
  49. 'param_url' => "访问链接",
  50. 'qrcode_url' => "二维码地址",
  51. 'admin_id' => "代理ID",
  52. 'salesman_id' => "业务员ID",
  53. "is_use"=> "使用状态",
  54. "mini_url"=> "小程序链接",
  55. "create_time"=> "创建时间",
  56. "shop_bind_time"=> "商城绑定时间"
  57. ];
  58. }
  59. }