StoreImageSearchSetting.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * Class StoreMedia
  10. * @package app\models
  11. * @property integer $id
  12. * @property integer $store_id
  13. * @property string $group_id
  14. * @property string $group_name
  15. * @property integer $max_capacity
  16. * @property integer $image_num
  17. * @property integer $created_at
  18. **/
  19. class StoreImageSearchSetting extends \yii\db\ActiveRecord
  20. {
  21. /**
  22. * @inheritdoc
  23. */
  24. public static function tableName()
  25. {
  26. return '{{%store_image_search_setting}}';
  27. }
  28. /**
  29. * @inheritdoc
  30. */
  31. public function rules()
  32. {
  33. return [
  34. [["id", "store_id", "max_capacity", "image_num", "created_at"], 'integer'],
  35. [["group_id", "group_name"], 'string'],
  36. ];
  37. }
  38. /**
  39. * @inheritdoc
  40. */
  41. public function attributeLabels()
  42. {
  43. return [
  44. "id" => "ID",
  45. "store_id" => "商城ID",
  46. "group_id" => "图库ID",
  47. "group_name" => "图库描述",
  48. "max_capacity" => "图库最大容纳数量",
  49. "image_num" => "当前图库图片数量",
  50. "created_at" => "创建时间",
  51. ];
  52. }
  53. }