AggregateQrcodeNew.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_qrcode}}".
  10. *
  11. * @property int $id
  12. * @property int $store_id
  13. * @property int $wx_mini_id
  14. * @property int $ali_mini_id
  15. * @property string $param_url
  16. * @property string $qrcode_url
  17. * @property int $admin_id
  18. * @property int $salesman_id
  19. * @property int $is_use
  20. * @property string $wx_url
  21. * @property string $ali_url
  22. * @property string $create_time
  23. * @property int $shop_bind_time
  24. * @property int $mini_time
  25. * @property int $audit_id
  26. * @property int $ali_status
  27. * @property int $wx_status
  28. */
  29. class AggregateQrcodeNew extends \yii\db\ActiveRecord
  30. {
  31. /**
  32. * @inheritdoc
  33. */
  34. public static function tableName()
  35. {
  36. return '{{%aggregate_qrcode_new}}';
  37. }
  38. /**
  39. * @inheritdoc
  40. */
  41. public function rules()
  42. {
  43. return [
  44. [['id', 'store_id','wx_mini_id','ali_mini_id','admin_id','salesman_id','is_use','create_time',"shop_bind_time", "mini_time","audit_id","ali_status", "wx_status"], 'integer'],
  45. [['param_url','qrcode_url','wx_url','ali_url'], 'string'],
  46. ];
  47. }
  48. /**
  49. * @inheritdoc
  50. */
  51. public function attributeLabels()
  52. {
  53. return [
  54. 'id' => "ID",
  55. 'store_id' => "商城ID",
  56. 'mini_id' => "小程序ID",
  57. 'param_url' => "访问链接",
  58. 'qrcode_url' => "二维码地址",
  59. 'admin_id' => "代理ID",
  60. 'salesman_id' => "业务员ID",
  61. "is_use"=> "使用状态",
  62. "wx_url"=> "微信小程序链接",
  63. "ali_url"=> "支付宝小程序链接",
  64. "create_time"=> "创建时间",
  65. "shop_bind_time"=> "商城绑定时间",
  66. "mini_time"=> "激活时间",
  67. "wx_mini_id"=> "微信小程序ID",
  68. "ali_mini_id"=> "支付宝小程序ID",
  69. "audit_id"=> "申请单ID",
  70. "ali_status"=> "支付宝绑定小程序状态",
  71. "wx_status"=> "微信绑定小程序状态",
  72. ];
  73. }
  74. }