StoreAliShop.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * Class StoreAliMini
  10. * @package app\models
  11. * @property integer $id
  12. * @property integer $store_id
  13. * @property integer $mini_id
  14. * @property string $business_address
  15. * @property string $shop_category
  16. * @property string $shop_type
  17. * @property string $shop_name
  18. * @property string $out_door_images
  19. * @property string $qualifications
  20. * @property integer $created_at
  21. * @property integer $status
  22. * @property string $shop_order_id
  23. * @property string $merchant_name
  24. * @property string $shop_id
  25. * @property string $new_shop_category
  26. * @property string $info_status
  27. * @property integer $is_delete
  28. * @property string $fail_reason
  29. **/
  30. class StoreAliShop extends \yii\db\ActiveRecord
  31. {
  32. /**
  33. * @inheritdoc
  34. */
  35. public static function tableName()
  36. {
  37. return '{{%store_ali_shop}}';
  38. }
  39. /**
  40. * @inheritdoc
  41. */
  42. public function rules()
  43. {
  44. return [
  45. [['id', 'store_id', 'mini_id', 'created_at', 'status', 'is_delete'], 'integer'],
  46. [['business_address', 'shop_order_id', 'shop_category', 'shop_type', 'shop_name', 'out_door_images', 'qualifications', 'shop_id', 'merchant_name', 'new_shop_category', 'info_status', 'fail_reason'], 'string']
  47. ];
  48. }
  49. /**
  50. * @inheritdoc
  51. */
  52. public function attributeLabels()
  53. {
  54. return [
  55. 'id' => "id",
  56. 'store_id' => "商城id",
  57. 'mini_id' => "支付宝小程序id",
  58. 'business_address' => "经营地址信息",
  59. 'shop_category' => "新版门店类目标准二级类目code",
  60. 'shop_type' => "店铺经营类型,01表示直营,02表示加盟",
  61. 'shop_name' => "店铺名称",
  62. 'out_door_images' => "门头照地址",
  63. 'qualifications' => "行业特殊资质。",
  64. 'created_at' => "创建时间",
  65. 'status' => "0未审核 1审核中 2审核完成",
  66. 'shop_order_id'=> "订单号",
  67. 'merchant_name'=> "商户名称",
  68. 'shop_id'=> "商城id",
  69. 'new_shop_category'=> "新版门店类目标准二级类目code",
  70. 'info_status'=> "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,99=未知)",
  71. 'is_delete' => "是否删除",
  72. "fail_reason" => "失败原因"
  73. ];
  74. }
  75. }