ShopPic.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. use Yii;
  9. /**
  10. * This is the model class for table "{{%shop_pic}}".
  11. *
  12. * @property integer $id
  13. * @property integer $shop_id
  14. * @property integer $store_id
  15. * @property string $pic_url
  16. * @property integer $is_delete
  17. */
  18. class ShopPic extends \yii\db\ActiveRecord
  19. {
  20. /**
  21. * @inheritdoc
  22. */
  23. public static function tableName()
  24. {
  25. return '{{%shop_pic}}';
  26. }
  27. /**
  28. * @inheritdoc
  29. */
  30. public function rules()
  31. {
  32. return [
  33. [['shop_id', 'store_id', 'is_delete'], 'integer'],
  34. [['pic_url'], 'string'],
  35. ];
  36. }
  37. /**
  38. * @inheritdoc
  39. */
  40. public function attributeLabels()
  41. {
  42. return [
  43. 'id' => 'ID',
  44. 'shop_id' => 'Shop ID',
  45. 'store_id' => 'Store ID',
  46. 'pic_url' => 'Pic Url',
  47. 'is_delete' => 'Is Delete',
  48. ];
  49. }
  50. }